mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-12 13:33:45 -05:00
Support install locations other than $HOME/.rbenv.
Define RBENV_HOME env variable in libexec/rbenv and let all script delegates use this variable to determine rbenv's install location.
This commit is contained in:
@@ -10,8 +10,8 @@ while [ -n "$root" ]; do
|
||||
root="${root%/*}"
|
||||
done
|
||||
|
||||
GLOBAL_PATH="${HOME}/.rbenv/global"
|
||||
DEFAULT_PATH="${HOME}/.rbenv/default"
|
||||
GLOBAL_PATH="${RBENV_HOME}/global"
|
||||
DEFAULT_PATH="${RBENV_HOME}/default"
|
||||
|
||||
if [ -e "$GLOBAL_PATH" ]; then
|
||||
echo "$GLOBAL_PATH"
|
||||
|
||||
Reference in New Issue
Block a user