X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..fb164ff46f3e5e352f800367f9d7f555b19d666f:/hcachever.sh.in 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