From 9785b92b6424705064f15c878a2dab68788f31ac Mon Sep 17 00:00:00 2001 From: Drew Scoggins Date: Mon, 5 Dec 2016 17:14:59 -0800 Subject: [PATCH] Fix calls to curl in prep script Before we were calling curl without the -L configuration. This would cause it not follow redirects and several of the files we needed have now started using redirects. This fixes that issue. Commit migrated from https://github.com/dotnet/coreclr/commit/0d6615c8a205060dfc5da6e87b81478ef10747fb --- src/coreclr/tests/scripts/perf-prep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/tests/scripts/perf-prep.sh b/src/coreclr/tests/scripts/perf-prep.sh index eca03c5..27e4100 100755 --- a/src/coreclr/tests/scripts/perf-prep.sh +++ b/src/coreclr/tests/scripts/perf-prep.sh @@ -59,12 +59,12 @@ python3.5 ./tests/scripts/Microsoft.BenchView.JSONFormat/tools/machinedata.py # Set up the copies # Coreclr build containing the tests and mscorlib -curl http://ci.dot.net/job/$perfBranch/job/master/job/release_windows_nt/lastSuccessfulBuild/artifact/bin/tests/tests.zip -o tests.zip +curl http://ci.dot.net/job/$perfBranch/job/master/job/release_windows_nt/lastSuccessfulBuild/artifact/bin/tests/tests.zip -L -o tests.zip # Corefx components. We now have full stack builds on all distros we test here, so we can copy straight from CoreFX jobs. mkdir corefx -curl http://ci.dot.net/job/dotnet_corefx/job/master/job/ubuntu14.04_release/lastSuccessfulBuild/artifact/bin/build.tar.gz -o ./corefx/build.tar.gz +curl http://ci.dot.net/job/dotnet_corefx/job/master/job/ubuntu14.04_release/lastSuccessfulBuild/artifact/bin/build.tar.gz -L -o ./corefx/build.tar.gz # Unpack the corefx binaries pushd corefx > /dev/null -- 2.7.4