configure should recursively sync submodules

This commit is contained in:
Erick Tryzelaar 2012-10-05 07:16:56 -07:00 committed by Brian Anderson
parent f8179b6d4d
commit 2d903abeab

4
configure vendored
View File

@ -583,6 +583,10 @@ then
"${CFG_GIT}" submodule --quiet update --init --recursive "${CFG_GIT}" submodule --quiet update --init --recursive
need_ok "git failed" need_ok "git failed"
msg "git: submodule foreach sync"
"${CFG_GIT}" submodule --quiet foreach --recursive git submodule sync
need_ok "git failed"
msg "git: submodule clobber" msg "git: submodule clobber"
"${CFG_GIT}" submodule --quiet foreach --recursive git clean -dxf "${CFG_GIT}" submodule --quiet foreach --recursive git clean -dxf
need_ok "git failed" need_ok "git failed"