-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ActivityWatch/aw-bundle
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |