mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
make configure not clobber modified submodules at all
this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.
This commit is contained in:
parent
2b487ed3e9
commit
12cee06388
1 changed files with 2 additions and 3 deletions
5
configure
vendored
5
configure
vendored
|
@ -456,9 +456,8 @@ then
|
|||
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 .
|
||||
"${CFG_GIT}" submodule foreach --recursive \
|
||||
'if [ -n "$(git status --porcelain)" ] ; then echo "Refusing to clobber $path" ; else git clean -dxf ; git checkout . ; fi'
|
||||
need_ok "git failed"
|
||||
|
||||
cd ${CFG_BUILD_DIR}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue