mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
auto merge of #1449 : zmike/servo/master, r=larsbergstrom
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:
commit
2fa4699274
1 changed files with 2 additions and 3 deletions
5
configure
vendored
5
configure
vendored
|
@ -456,9 +456,8 @@ then
|
||||||
need_ok "git failed"
|
need_ok "git failed"
|
||||||
|
|
||||||
msg "git: submodule clobber"
|
msg "git: submodule clobber"
|
||||||
"${CFG_GIT}" submodule foreach --recursive git clean -dxf
|
"${CFG_GIT}" submodule foreach --recursive \
|
||||||
need_ok "git failed"
|
'if [ -n "$(git status --porcelain)" ] ; then echo "Refusing to clobber $path" ; else git clean -dxf ; git checkout . ; fi'
|
||||||
"${CFG_GIT}" submodule foreach --recursive git checkout .
|
|
||||||
need_ok "git failed"
|
need_ok "git failed"
|
||||||
|
|
||||||
cd ${CFG_BUILD_DIR}
|
cd ${CFG_BUILD_DIR}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue