]> git.llucax.com Git - software/mutt-debian.git/blobdiff - hcachever.sh.in
Add upstream/542344-dont_fold_From_: Do not wrap From_ header (Closes: #542344)
[software/mutt-debian.git] / hcachever.sh.in
index 4137f8a79598e8d5d5cd13c284781f4461eb6c59..730ca76b8cbd597c30bb6b858360eececb6ac3cd 100755 (executable)
@@ -2,16 +2,6 @@
 
 BASEVERSION=2
 
-MD5=@MD5@
-if test "$MD5" = "openssl"
-then
-  MD5="openssl md5 -hex"
-elif test "$MD5" = "none"
-then
-  echo "ERROR: no MD5 tool found"
-  exit 1
-fi
-
 cleanstruct () {
   echo "$1" | sed -e 's/} *//' -e 's/;$//'
 }
@@ -91,7 +81,7 @@ do
 done
 echo " */" >> $TMPD
 
-MD5TEXT=`echo "$TEXT" | $MD5`
+MD5TEXT=`echo "$TEXT" | ./mutt_md5`
 echo "#define HCACHEVER 0x"`echo $MD5TEXT | cut -c-8` >> $TMPD
 
 # TODO: validate we have all structs