mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 00:30:48 +00:00
Merge pull request #189 from amarshall/master
Prevent $command from leaking outside of function
This commit is contained in:
commit
a49b07975c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ commands=(`rbenv commands --sh`)
|
|||
IFS="|"
|
||||
cat <<EOS
|
||||
rbenv() {
|
||||
command="\$1"
|
||||
local command="\$1"
|
||||
if [ "\$#" -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue