From a5d45ba37e89989cd69921cf01d2327dfd5c1e35 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 31 Jan 2016 16:06:11 +0200 Subject: Fix module update script --- modup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modup.sh b/modup.sh index 314e77b..26f170a 100755 --- a/modup.sh +++ b/modup.sh @@ -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 -- cgit v1.1