mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-11 13:03:46 -05:00
RBENV_DIR sets the directory from which .rbenv-version files are scanned
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
[ -n "$RBENV_DEBUG" ] && set -x
|
||||
|
||||
root="$(pwd)"
|
||||
root="$RBENV_DIR"
|
||||
while [ -n "$root" ]; do
|
||||
if [ -e "${root}/.rbenv-version" ]; then
|
||||
echo "${root}/.rbenv-version"
|
||||
|
||||
Reference in New Issue
Block a user