mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Quote script path and remove unnecessary semicolon
This commit is contained in:
parent
096743acde
commit
699cd8c203
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue