changeset 219:c4568fed66ba

cutfix
author edhoprima@gmail.com <edhoprima@gmail.com>
date Thu, 02 Jul 2009 20:29:06 +0000
parents aeca29670e26
children fe4d74801b28
files moefetch.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/moefetch.sh	Thu Jul 02 20:28:21 2009 +0000
+++ b/moefetch.sh	Thu Jul 02 20:29:06 2009 +0000
@@ -233,7 +233,7 @@
 	$(basename "${file}")"
 					has_err_filename=1
 				else
-					if test "$(${MD5} "${file}" | cut -d ' ' -f1 -)" = "$(basename "${file}" | cut -d '.' -f1)"; then
+					if test "$(${MD5} "${file}" | cut -d ' ' -f 1)" = "$(basename "${file}" | cut -d '.' -f 1)"; then
 						echo "$(basename "${file}")" >> "${TEMP_PREFIX}-ok"
 					else
 						rm "${file}" || Err_Fatal "Error removing ${file}"