Skip to content

Commit

Permalink
A tweaking we will go, a tweaking we will go...
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Jun 7, 2011
1 parent 068dd92 commit ade716f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/cli
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ __rvm_run_script()

__rvm_parse_args()
{
local _string
# TODO:
# Make this more robust '__rvm_history' so that it stores *unique* rvm commands.
# Otherwise this file gets big rather fast.
Expand Down Expand Up @@ -53,7 +54,8 @@ __rvm_parse_args()
install|uninstall)
export ${rvm_token}_flag=1
rvm_action=$rvm_token
export rvm_install_args="$(__rvm_quote_args_with_shift 1 "$@")"
_string="$*"
export rvm_install_args="${_string//-- /}"
;;

gemset)
Expand Down Expand Up @@ -696,7 +698,8 @@ __rvm_parse_args()
;;

--)
rvm_ruby_args="$next_token $*" ; rvm_parse_break=1
rvm_ruby_args="$next_token $*"
rvm_parse_break=1
;;

*)
Expand Down

0 comments on commit ade716f

Please sign in to comment.