scripts/cleanup in rvm-1.0.1 vs scripts/cleanup in rvm-1.0.2

- old
+ new

@@ -10,10 +10,10 @@ cleanup() { for cleanup_type in $1; do eval "current_path=\"\$rvm_${cleanup_type}_path\"" if [[ -n "$current_path" && -d "$current_path" && "$current_path" != "/" ]]; then - $rvm_scripts_path/log "info" "Cleaning up rvm directory '$current_path'" + "$rvm_scripts_path"/log "info" "Cleaning up rvm directory '$current_path'" \rm -rf "$current_path"/* >/dev/null 2>&1 fi done; unset cleanup_type current_path }