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
Enforce absolute RBENV_DIR
This prevents CDPATH from becoming an issue.
Closes
#866
.
pull/1133/head
Tim Pope
9 years ago
parent
4f8925abe7
commit
1f1e291385
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libexec/rbenv
+ 1
- 0
libexec/rbenv
View File
@ -60,6 +60,7 @@ export RBENV_ROOT
if [ -z "${RBENV_DIR}" ]; then
RBENV_DIR="$PWD"
else
[[ $RBENV_DIR == /* ]] || RBENV_DIR=$PWD/$RBENV_DIR
cd "$RBENV_DIR" 2>/dev/null || abort "cannot change working directory to \`$RBENV_DIR'"
RBENV_DIR="$PWD"
cd "$OLDPWD"
Write
Preview
Loading…
Cancel
Save