Skip to content

Commit

Permalink
Auto merge of #43092 - aidanhs:aphs-retry-llvm-tarball, r=alexcrichton
Browse files Browse the repository at this point in the history
Retry downloading llvm commit tarball

As promised on #42816 (comment)

r? @alexcrichton
  • Loading branch information
bors committed Jul 6, 2017
2 parents cd72f2e + 7c8523e commit 696412d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ci/init_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ for module in $modules; do
if [ "$module" = src/llvm ]; then
commit="$(git ls-tree HEAD src/llvm | awk '{print $3}')"
git rm src/llvm
curl -sSL -O "https://github.com/rust-lang/llvm/archive/$commit.tar.gz"
retry sh -c "rm -f $commit.tar.gz && \
curl -sSL -O https://github.com/rust-lang/llvm/archive/$commit.tar.gz"
tar -C src/ -xf "$commit.tar.gz"
rm "$commit.tar.gz"
mv "src/llvm-$commit" src/llvm
Expand Down

0 comments on commit 696412d

Please sign in to comment.