diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-05 15:06:21 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-05 15:06:21 -0500 |
commit | f9a97d74a5213c36bf97a03ded6ee7d4daba96d8 (patch) | |
tree | 5b4d51a6b97777fe42ef948068f86f897e4cd481 /switch_all_submodules_to_head_and_clean | |
parent | 42325576f8d0f2cb7aaa98467f1a133cdf403cb1 (diff) | |
download | scripts-f9a97d74a5213c36bf97a03ded6ee7d4daba96d8.tar.gz scripts-f9a97d74a5213c36bf97a03ded6ee7d4daba96d8.zip |
Fix script again
Diffstat (limited to 'switch_all_submodules_to_head_and_clean')
-rwxr-xr-x | switch_all_submodules_to_head_and_clean | 4 |
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 |