Merge "Allow user to override pip cache location"

This commit is contained in:
Jenkins 2012-07-16 15:59:46 +00:00 committed by Gerrit Code Review
commit b5a1f92b49

View File

@ -458,7 +458,7 @@ function pip_install {
else else
CMD_PIP=/usr/bin/pip-python CMD_PIP=/usr/bin/pip-python
fi fi
sudo PIP_DOWNLOAD_CACHE=/var/cache/pip \ sudo PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-/var/cache/pip} \
HTTP_PROXY=$http_proxy \ HTTP_PROXY=$http_proxy \
HTTPS_PROXY=$https_proxy \ HTTPS_PROXY=$https_proxy \
$CMD_PIP install --use-mirrors $@ $CMD_PIP install --use-mirrors $@