Mercurial > ec-dotfiles
diff moefetch.sh @ 151:3d6b2152f4a3
it didn't work on freebsd's md5
author | edhoprima |
---|---|
date | Sat, 25 Apr 2009 15:47:27 +0000 |
parents | 9338901a348a |
children | 67df02877319 |
line wrap: on
line diff
--- a/moefetch.sh Sat Apr 25 15:44:58 2009 +0000 +++ b/moefetch.sh Sat Apr 25 15:47:27 2009 +0000 @@ -136,7 +136,7 @@ exit 1 fi mdtest= -if [ `echo test | $md5 - | cut -d ' ' -f 1 -` != "d8e8fca2dc0f896fd7cb4cb0031ba249" ]; then +if [ `echo test | $md5 | cut -d ' ' -f 1 -` != "d8e8fca2dc0f896fd7cb4cb0031ba249" ]; then echo "$md5 doesn't produce wanted output" exit 1 fi