diff --git a/configure b/configure index e67ea3af5f382..9e84048d91b65 100755 --- a/configure +++ b/configure @@ -579,7 +579,7 @@ then need_ok "git failed" msg "git: submodule foreach sync" - "${CFG_GIT}" submodule --quiet foreach --recursive git submodule sync + "${CFG_GIT}" submodule --quiet foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi' need_ok "git failed" msg "git: submodule foreach update"