restore the clobber behavior during config

This commit is contained in:
Dave Huseby 2015-02-05 00:55:46 -08:00
parent 45165d0ee9
commit 34590d6def

11
configure vendored
View File

@ -1117,12 +1117,11 @@ then
msg "git: submodule status"
"${CFG_GIT}" submodule status --recursive
# don't clobber so that our patches won't get removed
#msg "git: submodule clobber"
#"${CFG_GIT}" submodule foreach --recursive git clean -dxf
#need_ok "git failed"
#"${CFG_GIT}" submodule foreach --recursive git checkout .
#need_ok "git failed"
msg "git: submodule clobber"
"${CFG_GIT}" submodule foreach --recursive git clean -dxf
need_ok "git failed"
"${CFG_GIT}" submodule foreach --recursive git checkout .
need_ok "git failed"
cd ${CFG_BUILD_DIR}
fi