mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
Reorder the submodule ops in configure
This commit is contained in:
parent
2d903abeab
commit
c56a7e5c25
16
configure
vendored
16
configure
vendored
@ -574,19 +574,23 @@ then
|
||||
msg "git: submodule sync"
|
||||
"${CFG_GIT}" submodule --quiet sync
|
||||
|
||||
# NB: this is just for the sake of getting the submodule SHA1 values
|
||||
# and status written into the build log.
|
||||
msg "git: submodule status"
|
||||
"${CFG_GIT}" submodule status --recursive
|
||||
|
||||
msg "git: submodule update"
|
||||
"${CFG_GIT}" submodule --quiet update --init --recursive
|
||||
"${CFG_GIT}" submodule --quiet update --init
|
||||
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 foreach update"
|
||||
"${CFG_GIT}" submodule --quiet update --init --recursive
|
||||
need_ok "git failed"
|
||||
|
||||
# NB: this is just for the sake of getting the submodule SHA1 values
|
||||
# and status written into the build log.
|
||||
msg "git: submodule status"
|
||||
"${CFG_GIT}" submodule status --recursive
|
||||
|
||||
msg "git: submodule clobber"
|
||||
"${CFG_GIT}" submodule --quiet foreach --recursive git clean -dxf
|
||||
need_ok "git failed"
|
||||
|
Loading…
Reference in New Issue
Block a user