diff moefetch.sh @ 150:9338901a348a

hahaha I broke it
author edhoprima
date Sat, 25 Apr 2009 15:44:58 +0000
parents 7200b4339aea
children 3d6b2152f4a3
line wrap: on
line diff
--- a/moefetch.sh	Sat Apr 25 15:30:12 2009 +0000
+++ b/moefetch.sh	Sat Apr 25 15:44:58 2009 +0000
@@ -135,9 +135,8 @@
 	echo "$md5base doesn't exist in $PATH"
 	exit 1
 fi
-if [ `$md5 - <<EOF | cut -d ' ' -f 1 -` != "d8e8fca2dc0f896fd7cb4cb0031ba249" ]; then
-test
-EOF
+mdtest=
+if [ `echo test | $md5 - | cut -d ' ' -f 1 -` != "d8e8fca2dc0f896fd7cb4cb0031ba249" ]; then
 	echo "$md5 doesn't produce wanted output"
 	exit 1
 fi