scripts/package in rvm-1.0.2 vs scripts/package in rvm-1.0.3

- old
+ new

@@ -1,13 +1,16 @@ #!/usr/bin/env bash + +if [[ "$rvm_trace_flag" -eq 2 ]] ; then set -x ; export rvm_trace_flag ; fi + rvm_base_except="selector" source "$rvm_scripts_path/base" # Tools to make managing ruby dependencies inside of rvm easier. - -action="$1" ; shift -library="$1" ; shift -args="$(echo $*) " # Strip trailing / leading / extra spacing. +args=($*) +action="${args[0]}" +library="${args[1]}" +args="$(echo ${args[@]:2})" install_package() { __rvm_db "${package}_url" "package_url"