mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
This commit is contained in:
parent
579a398e4e
commit
db2a94d4bc
2 changed files with 4 additions and 4 deletions
|
@ -13,6 +13,6 @@ if [ -e "$VERSION_FILE" ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done < <( cat "$VERSION_FILE" && echo )
|
done < <( cat "$VERSION_FILE" && echo )
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
|
|
@ -6,8 +6,8 @@ if [ -z "$RBENV_VERSION" ]; then
|
||||||
RBENV_VERSION="$(rbenv-version-file-read "$RBENV_VERSION_FILE" || true)"
|
RBENV_VERSION="$(rbenv-version-file-read "$RBENV_VERSION_FILE" || true)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$RBENV_VERSION" = "system" ]; then
|
if [ -z "$RBENV_VERSION" ] || [ "$RBENV_VERSION" = "system" ]; then
|
||||||
echo "$RBENV_VERSION"
|
echo "system"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue