Fix eval'ing multiline sh-*
command output with bash
This commit is contained in:
parent
efb187f26f
commit
0f44c57d08
@ -133,7 +133,7 @@ cat <<EOS
|
|||||||
|
|
||||||
case "\$command" in
|
case "\$command" in
|
||||||
${commands[*]})
|
${commands[*]})
|
||||||
eval "\`rbenv "sh-\$command" "\$@"\`";;
|
eval "\$(rbenv "sh-\$command" "\$@")";;
|
||||||
*)
|
*)
|
||||||
command rbenv "\$command" "\$@";;
|
command rbenv "\$command" "\$@";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user