mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 23:03:53 -05:00
Fix eval'ing multiline sh-* command output with bash
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user