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:
parent
7a678bfcb2
commit
cd8824ac04
@ -97,6 +97,7 @@ function pip_install {
|
||||
http_proxy=${http_proxy:-} \
|
||||
https_proxy=${https_proxy:-} \
|
||||
no_proxy=${no_proxy:-} \
|
||||
PIP_FIND_LINKS=$PIP_FIND_LINKS \
|
||||
$cmd_pip install \
|
||||
$@
|
||||
|
||||
@ -108,6 +109,7 @@ function pip_install {
|
||||
http_proxy=${http_proxy:-} \
|
||||
https_proxy=${https_proxy:-} \
|
||||
no_proxy=${no_proxy:-} \
|
||||
PIP_FIND_LINKS=$PIP_FIND_LINKS \
|
||||
$cmd_pip install \
|
||||
-r $test_req
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user