From 80fc97814af574f83e55e98a088bfc1730f0468a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 31 Jan 2016 14:17:21 +0200 Subject: Run update --init in case our submodules have their own submodules --- modup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modup.sh b/modup.sh index a725abe..314e77b 100755 --- a/modup.sh +++ b/modup.sh @@ -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 -- cgit v1.1