Browse code

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

Joe Gordon authored on 2015/03/05 09:40:19
Showing 1 changed files
... ...
@@ -97,6 +97,7 @@ function pip_install {
97 97
         http_proxy=${http_proxy:-} \
98 98
         https_proxy=${https_proxy:-} \
99 99
         no_proxy=${no_proxy:-} \
100
+        PIP_FIND_LINKS=$PIP_FIND_LINKS \
100 101
         $cmd_pip install \
101 102
         $@
102 103
 
... ...
@@ -108,6 +109,7 @@ function pip_install {
108 108
                 http_proxy=${http_proxy:-} \
109 109
                 https_proxy=${https_proxy:-} \
110 110
                 no_proxy=${no_proxy:-} \
111
+                PIP_FIND_LINKS=$PIP_FIND_LINKS \
111 112
                 $cmd_pip install \
112 113
                 -r $test_req
113 114
         fi