Bug 1006298 - TPS fails to download virtualenv due to the redirect. r=glob, a=testonly DONTBUILD
authorHenrik Skupin <mail@hskupin.info>
Tue, 06 May 2014 08:12:37 +0200
changeset 192220 da8b1c15e2b1
parent 192219 2919cce749c0
child 192221 68d24bc3a93d
push id3529
push userhskupin@mozilla.com
push date2014-05-08 08:44 +0000
treeherdermozilla-beta@da8b1c15e2b1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglob, testonly
bugs1006298
milestone30.0
Bug 1006298 - TPS fails to download virtualenv due to the redirect. r=glob, a=testonly DONTBUILD
testing/tps/INSTALL.sh
--- a/testing/tps/INSTALL.sh
+++ b/testing/tps/INSTALL.sh
@@ -43,17 +43,17 @@ fi
 if [ "${OS}" = "Windows_NT" ]
 then
   BIN_NAME=Scripts/activate
 else
   BIN_NAME=bin/activate
 fi
 
 # Create a virtualenv:
-curl https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py | ${PYTHON} - ${TARGET}
+curl -L https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py | ${PYTHON} - ${TARGET}
 cd ${TARGET}
 . $BIN_NAME
 if [ -z "${VIRTUAL_ENV}" ]
 then
     echo "virtualenv wasn't installed correctly, aborting"
     exit 1
 fi