summaryrefslogtreecommitdiff
path: root/bundle-update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bundle-update.sh')
-rwxr-xr-xbundle-update.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bundle-update.sh b/bundle-update.sh
new file mode 100755
index 0000000..5f50a0a
--- /dev/null
+++ b/bundle-update.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+wd=$(dirname $0)
+
+for i in $(ls $wd/bundle); do
+ pushd $wd/bundle/$i
+ git pull origin master
+ popd > /dev/null
+done
+
+cd $wd
+git add .
+git commit -m "Bundle update `date`"