Fix pip install error
If we set mutiple proxy (ip or url), pip install will treat the second proxy as a command. Add quotation marks around proxy. expecially for no_proxy Change-Id: I38ad3f083ba5155cda0e5e2b8f5df64492b7fecd
This commit is contained in:
parent
1331a828da
commit
6a83c423fc
@ -94,9 +94,9 @@ function pip_install {
|
|||||||
|
|
||||||
$xtrace
|
$xtrace
|
||||||
$sudo_pip \
|
$sudo_pip \
|
||||||
http_proxy=${http_proxy:-} \
|
http_proxy="${http_proxy:-}" \
|
||||||
https_proxy=${https_proxy:-} \
|
https_proxy="${https_proxy:-}" \
|
||||||
no_proxy=${no_proxy:-} \
|
no_proxy="${no_proxy:-}" \
|
||||||
PIP_FIND_LINKS=$PIP_FIND_LINKS \
|
PIP_FIND_LINKS=$PIP_FIND_LINKS \
|
||||||
$cmd_pip install \
|
$cmd_pip install \
|
||||||
$@
|
$@
|
||||||
|
Loading…
Reference in New Issue
Block a user