Merge "Add '-H -E' options to pass proxy env for sudo"

This commit is contained in:
Jenkins 2015-12-02 19:42:16 +00:00 committed by Gerrit Code Review
commit 82ce1d5229

View File

@ -40,7 +40,7 @@ fi
# older versions of pip are incompatible with
# requests, one of our indirect dependencies (bug 1459947).
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
sudo python /tmp/get-pip.py
sudo -H -E python /tmp/get-pip.py
sudo -H -E pip install -r "$(dirname $0)/../requirements.txt"