mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-11 13:03:52 -05:00
Should not exit with error if virtualenv_is_pyvenv returns with non-zero (fixes #8)
This commit is contained in:
@@ -344,7 +344,9 @@ STATUS=0
|
||||
mkdir -p "${PYENV_VIRTUALENV_CACHE_PATH}"
|
||||
cd "${PYENV_VIRTUALENV_CACHE_PATH}"
|
||||
venv $QUIET $VERBOSE "${VIRTUALENV_OPTIONS[@]}" "${VIRTUALENV_PATH}" && {
|
||||
virtualenv_is_pyvenv && ensurepip "${VIRTUALENV_NAME}"
|
||||
if virtualenv_is_pyvenv; then
|
||||
ensurepip "${VIRTUALENV_NAME}"
|
||||
fi
|
||||
} 1>&2 || STATUS="$?"
|
||||
|
||||
## Migrate previously installed packages from requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user