diff options
| author | Eric Huss <eric@huss.org> | 2022-07-26 11:53:18 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2022-07-26 11:53:18 -0700 |
| commit | cefaa9faafa961dc3054f0678ea7e3096066f58b (patch) | |
| tree | 75632f5a3c3fe8e7772876dd5a375fdec3829e64 /src/ci/scripts | |
| parent | c9b31839b624345d59fda6e595b9abae71fcea13 (diff) | |
| download | rust-cefaa9faafa961dc3054f0678ea7e3096066f58b.tar.gz rust-cefaa9faafa961dc3054f0678ea7e3096066f58b.zip | |
Re-enable submodule archive downloads.
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/checkout-submodules.sh | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/ci/scripts/checkout-submodules.sh b/src/ci/scripts/checkout-submodules.sh index 3eb4b8f9058..f6cb8f8a6da 100755 --- a/src/ci/scripts/checkout-submodules.sh +++ b/src/ci/scripts/checkout-submodules.sh @@ -36,10 +36,7 @@ function fetch_github_commit_archive { rm $cached } -# Archive downloads are temporarily disabled due to sudden 504 -# gateway timeout errors. -# included="src/llvm-project src/doc/book src/doc/rust-by-example" -included="" +included="src/llvm-project src/doc/book src/doc/rust-by-example" modules="$(git config --file .gitmodules --get-regexp '\.path$' | cut -d' ' -f2)" modules=($modules) use_git="" @@ -63,9 +60,9 @@ done retry sh -c "git submodule deinit -f $use_git && \ git submodule sync && \ git submodule update -j 16 --init --recursive --depth 1 $use_git" -# STATUS=0 -# for pid in ${bg_pids[*]} -# do -# wait $pid || STATUS=1 -# done -# exit ${STATUS} +STATUS=0 +for pid in ${bg_pids[*]} +do + wait $pid || STATUS=1 +done +exit ${STATUS} |
