Skip to content

Commit

Permalink
Merge pull request #189 from amarshall/master
Browse files Browse the repository at this point in the history
Prevent $command from leaking outside of function
  • Loading branch information
sstephenson committed Feb 18, 2012
2 parents e899f1d + 9c43fa9 commit a49b079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/rbenv-init
Expand Up @@ -86,7 +86,7 @@ commands=(`rbenv commands --sh`)
IFS="|"
cat <<EOS
rbenv() {
command="\$1"
local command="\$1"
if [ "\$#" -gt 0 ]; then
shift
fi
Expand Down

0 comments on commit a49b079

Please sign in to comment.