mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Retry downloading llvm commit tarball
This commit is contained in:
parent
54fc9e4ea5
commit
7c8523e87b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user