From d79a8acbb700886a24c5ed553d919d1a90385381 Mon Sep 17 00:00:00 2001 From: Yves-Gwenael Bourhis Date: Mon, 14 Apr 2014 14:49:07 +0200 Subject: [PATCH] Fixed pip with http(s)_proxy pip failed to insall packages with the http_proxy and https_proxy localrc environment variables. indeed, the case of the variables was uppercase and these variables are normally lowercase. Change-Id: I73054aafd353ccf53986f0ec05426f6a2c4e2240 Closes-Bug: 1307492 --- functions-common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions-common b/functions-common index 6340c5ce5d..cc90c073cf 100644 --- a/functions-common +++ b/functions-common @@ -1231,9 +1231,9 @@ function pip_install { $xtrace $SUDO_PIP PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-/var/cache/pip} \ - HTTP_PROXY=$http_proxy \ - HTTPS_PROXY=$https_proxy \ - NO_PROXY=$no_proxy \ + http_proxy=$http_proxy \ + https_proxy=$https_proxy \ + no_proxy=$no_proxy \ $CMD_PIP install --build=${pip_build_tmp} \ $PIP_MIRROR_OPT $@ \ && $SUDO_PIP rm -rf ${pip_build_tmp}