mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Prevent $command from leaking outside of function
This commit is contained in:
parent
e899f1d31c
commit
9c43fa9161
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ commands=(`rbenv commands --sh`)
|
||||||
IFS="|"
|
IFS="|"
|
||||||
cat <<EOS
|
cat <<EOS
|
||||||
rbenv() {
|
rbenv() {
|
||||||
command="\$1"
|
local command="\$1"
|
||||||
if [ "\$#" -gt 0 ]; then
|
if [ "\$#" -gt 0 ]; then
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue