mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 06:43: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:
@@ -13,7 +13,7 @@ else
|
||||
print_version="$(rbenv-version)"
|
||||
fi
|
||||
|
||||
for path in "${HOME}/.rbenv/versions/"*; do
|
||||
for path in "${RBENV_HOME}/versions/"*; do
|
||||
if [ -d "$path" ]; then
|
||||
version="${path##*/}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user