1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 22:03:52 -05:00

Fix eval'ing multiline sh-* command output with bash

This commit is contained in:
Mislav Marohnić
2015-10-12 01:31:57 +02:00
parent efb187f26f
commit 0f44c57d08

View File

@@ -133,7 +133,7 @@ cat <<EOS
case "\$command" in
${commands[*]})
eval "\`rbenv "sh-\$command" "\$@"\`";;
eval "\$(rbenv "sh-\$command" "\$@")";;
*)
command rbenv "\$command" "\$@";;
esac