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%/*}"
for script in $(rbenv-plugin-scripts exec); do
source $script;
source "$script"
done
shift 1

View file

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

View file

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