mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Should not exit with error if virtualenv_is_pyvenv returns with non-zero (fixes #8)
This commit is contained in:
parent
0c2cf9f439
commit
c7da5d53bb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue