Bug 1449629 - Use -L when downloading OpenSSL. r=glandium, a=NPOTB
authorGregory Szorc <gps@mozilla.com>
Mon, 02 Apr 2018 19:22:07 -0700
changeset 460513 0027aa6624e41ac0e7dfa6b56ef1f70ee9ddafd7
parent 460512 82c30f3deccbf7086923abce5821808c8a141370
child 460514 298636c044705d583f4a85822db5e5f505220e8d
push id8963
push userryanvm@gmail.com
push dateTue, 03 Apr 2018 15:25:18 +0000
treeherdermozilla-beta@14ea71e3100e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium, NPOTB
bugs1449629
milestone60.0
Bug 1449629 - Use -L when downloading OpenSSL. r=glandium, a=NPOTB The URL is now being redirected to https://www.openssl.org/source/old/1.1.0/openssl-1.1.0g.tar.gz. Let's add a -L so we follow redirects automatically. MozReview-Commit-ID: AuZ98jGidzl
taskcluster/scripts/misc/build-sccache.sh
--- a/taskcluster/scripts/misc/build-sccache.sh
+++ b/taskcluster/scripts/misc/build-sccache.sh
@@ -40,17 +40,17 @@ git checkout $SCCACHE_REVISION
 
 # Link openssl statically so we don't have to bother with different sonames
 # across Linux distributions.  We can't use the system openssl; see the sad
 # story in https://bugzilla.mozilla.org/show_bug.cgi?id=1163171#c26.
 case "$(uname -s)" in
 Linux)
     OPENSSL_TARBALL=openssl-1.1.0g.tar.gz
 
-    curl -O https://www.openssl.org/source/$OPENSSL_TARBALL
+    curl -L -O https://www.openssl.org/source/$OPENSSL_TARBALL
 cat >$OPENSSL_TARBALL.sha256sum <<EOF
 de4d501267da39310905cb6dc8c6121f7a2cad45a7707f76df828fe1b85073af  openssl-1.1.0g.tar.gz
 EOF
     cat $OPENSSL_TARBALL.sha256sum
     sha256sum -c $OPENSSL_TARBALL.sha256sum
 
     tar zxf $OPENSSL_TARBALL