mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 23:33:45 -05:00
libexec/rbenv-version{,-origin}: fix earlier commit to allow for RBENV_VERSION env var
This commit is contained in:
@@ -17,5 +17,8 @@ if [ -n "$RBENV_VERSION_ORIGIN" ]; then
|
||||
elif [ -n "$RBENV_VERSION" ]; then
|
||||
echo "RBENV_VERSION environment variable"
|
||||
else
|
||||
rbenv-version-file
|
||||
RBENV_VERSION_FILE="$(rbenv-version-file)"
|
||||
if [ -e "$RBENV_VERSION_FILE" ]; then
|
||||
echo $RBENV_VERSION_FILE
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user