Don't override PIP_DOWNLOAD_CACHE if it has already been set externally.

Change-Id: I5e65529b5f3015091590d275f123f93d9bb9869b
This commit is contained in:
Ewan Mellor
2011-12-31 22:20:28 -08:00
parent d04a6fd8a3
commit 580ecc20bc

View File

@@ -280,7 +280,7 @@ function restore_environment {
function install_venv {
# Install openstack-dashboard with install_venv.py
export PIP_DOWNLOAD_CACHE=/tmp/.pip_download_cache
export PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE-/tmp/.pip_download_cache}
export PIP_USE_MIRRORS=true
if [ $quiet -eq 1 ]; then
export PIP_NO_INPUT=true