scripts/fetch in rvm-0.0.98 vs scripts/fetch in rvm-0.0.99

- old
+ new

@@ -1,6 +1,10 @@ #!/usr/bin/env bash +if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi + +trap "if [[ -d $rvm_path/tmp/ ]] && [[ -f $rvm_path/tmp/$$ ]] ; then rm -f $rvm_path/tmp/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15 + if ! which curl &> /dev/null; then $rvm_scripts_path/log "fail" "rvm requires curl, which does not seem to exist in your path :(" exit 1 else fetch_command="curl -O -L --create-dirs -C - " # -s for silent