scripts/wrapper in rvm-0.1.39 vs scripts/wrapper in rvm-0.1.40
- old
+ new
@@ -2,16 +2,10 @@
default_flag="$rvm_default_flag"
# Prevent it from recursing.
unset rvm_default_flag rvm_wrapper_name
-source $rvm_scripts_path/initialize
-source $rvm_scripts_path/utility
-source $rvm_scripts_path/selector
-
-if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi
-
-trap "if [[ -d $rvm_tmp_path/ ]] && [[ -s $rvm_tmp_path/$$ ]] ; then rm -f $rvm_tmp_path/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15
+source "$rvm_scripts_path/base"
full_binary_name() {
echo "$binary_name" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
}