scripts/cli in rvm-0.1.19 vs scripts/cli in rvm-0.1.20
- old
+ new
@@ -12,11 +12,11 @@
rvm_action=$rvm_token
;;
package)
rvm_action="$rvm_token"
- export rvm_ruby_args="$@"
+ rvm_ruby_args="$@"
rvm_parse_break=1
;;
use)
rvm_action=$rvm_token
@@ -24,11 +24,11 @@
if [[ "ruby" = "$1" ]] ; then shift ; fi
;;
inspect)
rvm_action=$rvm_token
- export rvm_ruby_args=$*
+ rvm_ruby_args="$@"
rvm_parse_break=1
;;
install|uninstall)
export ${rvm_token}_flag=1
@@ -58,10 +58,10 @@
export GEM_PATH="$rvm_ruby_gem_home/bin:$rvm_ruby_gem_home%global/bin"
rvm_ruby_args="clear"
rvm_parse_break=1
elif [[ "delete" = "$1" ]] || [[ "use" = "$1" ]] ; then
export rvm_${1}_flag=1
- export rvm_ruby_args="$*" ; shift
+ export rvm_ruby_args="$@" ; shift
rvm_gemset_name="$1"; shift
export rvm_ruby_string=$(echo $rvm_gemset_name | sed 's/\(.*\)%.*/\1/')
export rvm_gemset_name=$(echo $rvm_gemset_name | sed 's/.*%\(.*\)/\1/')
if [[ "$rvm_ruby_string" != "$rvm_gemset_name" ]] ; then export rvm_ruby_string ; fi
if [[ ! -z "$rvm_gemset_name" ]] ; then export rvm_gemset_name ; fi