1
0
Fork 0
mirror of https://github.com/pyenv/pyenv.git synced 2025-04-02 17:34:21 +00:00

Strip trailing slashes from RBENV_ROOT ()

This commit is contained in:
Sam Stephenson 2011-09-14 12:45:44 -05:00
parent b4f8906b24
commit 568cd4b23e

View file

@ -22,6 +22,8 @@ abs_dirname() {
if [ -z "${RBENV_ROOT}" ]; then
RBENV_ROOT="${HOME}/.rbenv"
else
RBENV_ROOT="${RBENV_ROOT%/}"
fi
export RBENV_ROOT