mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Fix "pyenv: version 'system' is not installed" with pyenv which
This is a follow-up to de5c61c
.
This commit is contained in:
parent
665f9d9466
commit
a797bb6d88
1 changed files with 4 additions and 1 deletions
|
@ -59,8 +59,11 @@ done
|
|||
if [ -x "$PYENV_COMMAND_PATH" ]; then
|
||||
echo "$PYENV_COMMAND_PATH"
|
||||
else
|
||||
any_not_installed=0
|
||||
for version in "${versions[@]}"; do
|
||||
any_not_installed=0
|
||||
if [ "$version" = "system" ]; then
|
||||
continue
|
||||
fi
|
||||
if ! [ -d "${PYENV_ROOT}/versions/${version}" ]; then
|
||||
echo "pyenv: version \`$version' is not installed" >&2
|
||||
any_not_installed=1
|
||||
|
|
Loading…
Reference in a new issue