servo: Merge #3123 - Remove redundant git-submodule commands in configure (from SimonSapin:redundant-submodule-commands)

Source-Repo: https://github.com/servo/servo
Source-Revision: 04c50808923b3b4e9c3c39cc2bd429339b4e16e1
This commit is contained in:
Simon Sapin 2014-08-21 15:54:56 +01:00
Родитель 52f51c1c24
Коммит 461c057f88
1 изменённых файлов: 1 добавлений и 9 удалений

10
servo/configure поставляемый
Просмотреть файл

@ -490,7 +490,7 @@ then
cd ${CFG_SRC_DIR}
msg "git: submodule sync"
"${CFG_GIT}" submodule --quiet sync
"${CFG_GIT}" submodule --quiet sync --recursive
# NB: this is just for the sake of getting the submodule SHA1 values
# and status written into the build log.
@ -498,14 +498,6 @@ then
"${CFG_GIT}" submodule status --recursive
msg "git: submodule update"
"${CFG_GIT}" submodule update --init
need_ok "git failed"
msg "git: submodule foreach sync"
"${CFG_GIT}" submodule foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi'
need_ok "git failed"
msg "git: submodule foreach update"
"${CFG_GIT}" submodule update --init --recursive
need_ok "git failed"