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
| ... | ... |
@@ -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}
|