Quote script path and remove unnecessary semicolon

This commit is contained in:
Sam Stephenson 2011-09-21 13:05:08 -05:00
parent 096743acde
commit 699cd8c203
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ RBENV_COMMAND_PATH="$(rbenv-which "$RBENV_COMMAND")"
RBENV_BIN_PATH="${RBENV_COMMAND_PATH%/*}" RBENV_BIN_PATH="${RBENV_COMMAND_PATH%/*}"
for script in $(rbenv-plugin-scripts exec); do for script in $(rbenv-plugin-scripts exec); do
source $script; source "$script"
done done
shift 1 shift 1

View file

@ -71,5 +71,5 @@ make_shims ../versions/*/bin/*
cd "$CUR_PATH" cd "$CUR_PATH"
for script in $(rbenv-plugin-scripts rehash); do for script in $(rbenv-plugin-scripts rehash); do
source $script; source "$script"
done done

View file

@ -53,7 +53,7 @@ else
fi fi
for script in $(rbenv-plugin-scripts which); do for script in $(rbenv-plugin-scripts which); do
source $script; source "$script"
done done
if [ -x "$RBENV_COMMAND_PATH" ]; then if [ -x "$RBENV_COMMAND_PATH" ]; then