Merge "Fix install_get_pip in order to work behind a proxy"
This commit is contained in:
commit
9f2ec52991
@ -67,7 +67,7 @@ function install_get_pip() {
|
||||
curl -O $PIP_GET_PIP_URL; \
|
||||
)
|
||||
fi
|
||||
sudo python $FILES/get-pip.py
|
||||
sudo -E python $FILES/get-pip.py
|
||||
}
|
||||
|
||||
function install_pip_tarball() {
|
||||
@ -75,7 +75,7 @@ function install_pip_tarball() {
|
||||
curl -O $PIP_TAR_URL; \
|
||||
tar xvfz pip-$INSTALL_PIP_VERSION.tar.gz 1>/dev/null; \
|
||||
cd pip-$INSTALL_PIP_VERSION; \
|
||||
sudo python setup.py install 1>/dev/null; \
|
||||
sudo -E python setup.py install 1>/dev/null; \
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user