summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbundle-update.sh8
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