This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
241
Wiki
Activity
Browse Source
rbenv-version-file: ensure that the version file is a file
Forwarded from
https://github.com/pyenv/pyenv/pull/606
.
pull/1133/head
Daniel Hahler
9 years ago
parent
755c820724
commit
95b1b05cbe
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libexec/rbenv-version-file
+ 1
- 1
libexec/rbenv-version-file
View File
@ -9,7 +9,7 @@ target_dir="$1"
find_local_version_file() {
local root="$1"
while ! [[ "$root" =~ ^//[^/]*$ ]]; do
if [ -
e
"${root}/.ruby-version" ]; then
if [ -
f
"${root}/.ruby-version" ]; then
echo "${root}/.ruby-version"
return 0
fi
Write
Preview
Loading…
Cancel
Save