diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2022-08-23 01:54:54 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2022-08-23 01:54:54 -0700 |
commit | 8829253887f6b2b36519f8b1fb544cd6fa81d4a2 (patch) | |
tree | 16b020e25ee36a43ea92ae574c3d4d777298f5b6 | |
parent | d661a97f6c7660976acbc62154e5d59b14c883e4 (diff) | |
download | vim-8829253887f6b2b36519f8b1fb544cd6fa81d4a2.tar.gz vim-8829253887f6b2b36519f8b1fb544cd6fa81d4a2.tar.bz2 vim-8829253887f6b2b36519f8b1fb544cd6fa81d4a2.zip |
Update bundle-update
-rwxr-xr-x | bundle-update.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bundle-update.sh b/bundle-update.sh index 5f50a0a..578d1e8 100755 --- a/bundle-update.sh +++ b/bundle-update.sh @@ -1,10 +1,12 @@ #!/bin/sh wd=$(dirname $0) +path="pack/bundle/start" +branch=$(git branch --show-current) -for i in $(ls $wd/bundle); do - pushd $wd/bundle/$i - git pull origin master +for i in $(ls $wd/$path); do + pushd $wd/$path/$i + git pull origin $branch popd > /dev/null done |