scripts/repair in rvm-1.0.8 vs scripts/repair in rvm-1.0.9

- old
+ new

@@ -68,10 +68,10 @@ stored_md5sum="$($rvm_path/scripts/db "$rvm_path/config/md5" "$archive_file" | head -n1)" if [[ -n "$stored_md5sum" ]] ; then - if [[ ! "$rvm_path/scripts/md5" "${rvm_archives_path:-"$rvm_path/archives"}/$archive_file" "$stored_md5sum" ]] ; then + if ! "$rvm_path/scripts/md5" "${rvm_archives_path:-"$rvm_path/archives"}/$archive_file" "$stored_md5sum" ; then "$rvm_path/scripts/log" "info" "Removing archive for '$archive_file' - Incorrect md5 checksum." rm -rf "${rvm_archives_path:-"$rvm_path/archives"}/$archive_file" fi