Skip to content

Commit

Permalink
changed exec to eval for rvmsudo.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Dec 22, 2009
1 parent 57b4fd2 commit d280e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binscripts/rvmsudo
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ prefix="PATH='$PATH'"
if [[ ! -z "$GEM_HOME" ]] ; then prefix="GEM_HOME='$GEM_HOME' $prefix" ; fi
if [[ ! -z "$GEM_PATH" ]] ; then prefix="GEM_PATH='$GEM_PATH' $prefix" ; fi

exec "sudo" "/usr/bin/env $prefix $@"
eval "sudo" "/usr/bin/env $prefix $@"

0 comments on commit d280e00

Please sign in to comment.