scripts/cleanup in rvm-0.1.45 vs scripts/cleanup in rvm-0.1.46
- old
+ new
@@ -11,10 +11,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'"
- rm -rf "$current_path"/* >/dev/null 2>&1
+ \rm -rf "$current_path"/* >/dev/null 2>&1
fi
done; unset cleanup_type current_path
}
# Exit when there is no argument.