Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ActivityWatch/aw-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Jul 8, 2016
2 parents ff62182 + 3d27cf8 commit e117a81
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pull-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
# Pull this repo
git pull
# Pull other git modules
git submodule update --init --recursive

while getopts "a" opt; do
case $opt in
a)
# Pull bleeding edge from submodules
FOLDERS="aw-*"
for FOLDER in $FOLDERS; do
pushd $FOLDER
git checkout master
git pull
popd
done
;;
\?)
echo "Invalid flag"
;;
esac
done

0 comments on commit e117a81

Please sign in to comment.