diff options
| author | Anton Bobov <bobov_a@sibsac.ru> | 2011-10-13 11:17:19 +0600 |
|---|---|---|
| committer | Anton Bobov <bobov_a@sibsac.ru> | 2011-10-13 11:17:19 +0600 |
| commit | da709cd9e90c3ab644bb92700f0ed40d965b80d3 (patch) | |
| tree | 144e5470327f72b8489141cd7595b652c6c32616 /files/.vim/bundle/update.sh | |
Initial commit.
Diffstat (limited to 'files/.vim/bundle/update.sh')
| -rwxr-xr-x | files/.vim/bundle/update.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/files/.vim/bundle/update.sh b/files/.vim/bundle/update.sh new file mode 100755 index 0000000..c8cb034 --- /dev/null +++ b/files/.vim/bundle/update.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +oldcwd=$(pwd) + +cd "$(dirname "$0")" +for submodule in * +do + if [ -d "$submodule/.git" ] + then + cd "$submodule" + echo "--- $submodule:" + git pull + cd .. + fi +done +cd "$oldcwd" |
