Properly quote arguments with spaces

This commit is contained in:
Sam Stephenson 2011-08-02 09:38:36 -05:00
parent 0c66f62c17
commit 4acefd6ef9
2 changed files with 2 additions and 2 deletions

View file

@ -11,4 +11,4 @@ fi
RBENV_COMMAND_PATH="$(rbenv-which "$RBENV_COMMAND")"
shift 1
exec -a "$RBENV_COMMAND" "$RBENV_COMMAND_PATH" $*
exec -a "$RBENV_COMMAND" "$RBENV_COMMAND_PATH" "$@"

View file

@ -2,4 +2,4 @@
set -e
exec rbenv-exec "${0##*/}" $*
exec rbenv-exec "${0##*/}" "$@"