mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Fix rbenv prefix system
This commit is contained in:
parent
d50ce90a36
commit
43520db389
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ set -e
|
||||||
[ -n "$RBENV_DEBUG" ] && set -x
|
[ -n "$RBENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
RBENV_VERSION="$1"
|
export RBENV_VERSION="$1"
|
||||||
elif [ -z "$RBENV_VERSION" ]; then
|
elif [ -z "$RBENV_VERSION" ]; then
|
||||||
RBENV_VERSION="$(rbenv-version-name)"
|
RBENV_VERSION="$(rbenv-version-name)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue