mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Strip trailing slashes from RBENV_ROOT (#83)
This commit is contained in:
parent
b4f8906b24
commit
568cd4b23e
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ abs_dirname() {
|
|||
|
||||
if [ -z "${RBENV_ROOT}" ]; then
|
||||
RBENV_ROOT="${HOME}/.rbenv"
|
||||
else
|
||||
RBENV_ROOT="${RBENV_ROOT%/}"
|
||||
fi
|
||||
export RBENV_ROOT
|
||||
|
||||
|
|
Loading…
Reference in a new issue