summaryrefslogtreecommitdiffstats
path: root/switch_all_submodules_to_head_and_clean
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-05 15:06:21 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-05 15:06:21 -0500
commitf9a97d74a5213c36bf97a03ded6ee7d4daba96d8 (patch)
tree5b4d51a6b97777fe42ef948068f86f897e4cd481 /switch_all_submodules_to_head_and_clean
parent42325576f8d0f2cb7aaa98467f1a133cdf403cb1 (diff)
downloadscripts-f9a97d74a5213c36bf97a03ded6ee7d4daba96d8.tar.gz
scripts-f9a97d74a5213c36bf97a03ded6ee7d4daba96d8.zip
Fix script again
Diffstat (limited to 'switch_all_submodules_to_head_and_clean')
-rwxr-xr-xswitch_all_submodules_to_head_and_clean4
1 files changed, 3 insertions, 1 deletions
diff --git a/switch_all_submodules_to_head_and_clean b/switch_all_submodules_to_head_and_clean
index 9620d51..9049344 100755
--- a/switch_all_submodules_to_head_and_clean
+++ b/switch_all_submodules_to_head_and_clean
@@ -33,7 +33,9 @@ if [[ -e .gitmodules ]]; then
git submodule init
git submodule update
- git submodule foreach "'git checkout master && git pull && $THISSCRIPT $1'"
+ git submodule foreach "git checkout master"
+ git submodule foreach "git pull"
+ git submodule foreach "$THISSCRIPT $1"
git checkout -- .gitmodules
fi