Strip trailing slashes from RBENV_ROOT (#83)
This commit is contained in:
parent
b4f8906b24
commit
568cd4b23e
@ -22,6 +22,8 @@ abs_dirname() {
|
|||||||
|
|
||||||
if [ -z "${RBENV_ROOT}" ]; then
|
if [ -z "${RBENV_ROOT}" ]; then
|
||||||
RBENV_ROOT="${HOME}/.rbenv"
|
RBENV_ROOT="${HOME}/.rbenv"
|
||||||
|
else
|
||||||
|
RBENV_ROOT="${RBENV_ROOT%/}"
|
||||||
fi
|
fi
|
||||||
export RBENV_ROOT
|
export RBENV_ROOT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user