Prevent $command from leaking outside of function #189

merged 1 commit into from Feb 18, 2012


None yet

3 participants


The $command variable currently sticks around after rbenv finishes executing, overwriting any previous value.

$ command=foo; echo $command; rbenv --help &> /dev/null; echo $command

This works in my environment.

@sstephenson sstephenson merged commit a49b079 into rbenv:master Feb 18, 2012

How embarrassing! Thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment