mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -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:
@@ -19,6 +19,9 @@ abs_dirname() {
|
||||
cd "$cwd"
|
||||
}
|
||||
|
||||
rbenv_install_location=$(abs_dirname "$(dirname $0)")
|
||||
export RBENV_HOME="${rbenv_install_location}"
|
||||
|
||||
libexec_path="$(abs_dirname "$0")"
|
||||
export PATH="${libexec_path}:${PATH}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user