aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmodup.sh4
1 files changed, 4 insertions, 0 deletions
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