Browse code

Merge "Fixed pip with http(s)_proxy"

Jenkins authored on 2014/04/23 04:34:48
Showing 1 changed files
... ...
@@ -1231,9 +1231,9 @@ function pip_install {
1231 1231
 
1232 1232
     $xtrace
1233 1233
     $SUDO_PIP PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-/var/cache/pip} \
1234
-        HTTP_PROXY=$http_proxy \
1235
-        HTTPS_PROXY=$https_proxy \
1236
-        NO_PROXY=$no_proxy \
1234
+        http_proxy=$http_proxy \
1235
+        https_proxy=$https_proxy \
1236
+        no_proxy=$no_proxy \
1237 1237
         $CMD_PIP install --build=${pip_build_tmp} \
1238 1238
         $PIP_MIRROR_OPT $@ \
1239 1239
         && $SUDO_PIP rm -rf ${pip_build_tmp}