Fix rtd-verify submodule update command
[releng/global-jjb.git] / shell / rtd-verify.sh
index 29a991b..e91dd71 100644 (file)
@@ -28,7 +28,7 @@ if [ "$GERRIT_PROJECT" != "$PROJECT" ]; then
 fi
 
 git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD
-git submodule update
+git submodule update --init --recursive
 for submod in $(git config -f .gitmodules --get-regexp '^submodule\.(.+)\.url' | awk -e '{print $1}'); do
     git config --get "$submod"
 done