Pass PIP_FIND_LINKS through sudo to pip

We weren't actually using the wheels since PIP_FIND_LINKS environmental
variable was getting lost during the sudo

Change-Id: I4a89a70df63772a16ee5a8c3f1cd86e9c7bb5242
This commit is contained in:
Joe Gordon 2015-03-04 16:40:19 -08:00
parent 7a678bfcb2
commit cd8824ac04

View File

@ -97,6 +97,7 @@ function pip_install {
http_proxy=${http_proxy:-} \ http_proxy=${http_proxy:-} \
https_proxy=${https_proxy:-} \ https_proxy=${https_proxy:-} \
no_proxy=${no_proxy:-} \ no_proxy=${no_proxy:-} \
PIP_FIND_LINKS=$PIP_FIND_LINKS \
$cmd_pip install \ $cmd_pip install \
$@ $@
@ -108,6 +109,7 @@ function pip_install {
http_proxy=${http_proxy:-} \ http_proxy=${http_proxy:-} \
https_proxy=${https_proxy:-} \ https_proxy=${https_proxy:-} \
no_proxy=${no_proxy:-} \ no_proxy=${no_proxy:-} \
PIP_FIND_LINKS=$PIP_FIND_LINKS \
$cmd_pip install \ $cmd_pip install \
-r $test_req -r $test_req
fi fi