diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-31 16:06:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-31 16:06:11 +0200 |
commit | a5d45ba37e89989cd69921cf01d2327dfd5c1e35 (patch) | |
tree | f86f008b9b0358344e94e592a14fcea191b6db61 | |
parent | 80fc97814af574f83e55e98a088bfc1730f0468a (diff) |
Fix module update script
-rwxr-xr-x | modup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,10 @@ for i in $modules; do # git submodule update --init --recursive $* + # Set it back to remote's HEAD. + # + git submodule update --remote $* + if [ $? -ne 0 ]; then echo "submodule update FAILED" 1>&2 exit 1 |