mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 23:00:51 +00:00
commit
51a1ee06e4
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ set -e
|
|||
find_local_version_file() {
|
||||
local root="$1"
|
||||
while true; do
|
||||
[[ "$root" =~ ^//[^/]*$ ]] && break
|
||||
if [ -e "${root}/.ruby-version" ]; then
|
||||
echo "${root}/.ruby-version"
|
||||
exit
|
||||
|
|
Loading…
Reference in a new issue