diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-31 14:17:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-31 14:17:21 +0200 |
commit | 80fc97814af574f83e55e98a088bfc1730f0468a (patch) | |
tree | 4de7a4f8a0a5512624edc7f1aacc7a14354e75d1 | |
parent | 0f0d0a0916c661e3c1bbc623200c1ce16e31701f (diff) |
Run update --init in case our submodules have their own submodules
-rwxr-xr-x | modup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ for i in $modules; do cd $i git submodule update --remote $* + # In case our submodules have their own submodules. + # + git submodule update --init --recursive $* + if [ $? -ne 0 ]; then echo "submodule update FAILED" 1>&2 exit 1 |