mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-11 14:58:41 -05:00
Merge pull request #1449 from rbenv/libexec-vs-bin
Avoid assuming rbenv original project layout
This commit is contained in:
commit
172a79e993
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ rbenv_path() {
|
|||
echo "$PWD/${found#./}"
|
||||
else
|
||||
# Assume rbenv isn't in PATH.
|
||||
local here="${BASH_SOURCE%/*}"
|
||||
echo "${here%/*}/bin/rbenv"
|
||||
echo "${BASH_SOURCE%/*}/rbenv"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue