X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..24d1372aec0208946117089a703451c458a4c09a:/hcachever.sh.in?ds=inline diff --git a/hcachever.sh.in b/hcachever.sh.in index 4137f8a..730ca76 100755 --- a/hcachever.sh.in +++ b/hcachever.sh.in @@ -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