summaryrefslogtreecommitdiffstats
path: root/hcachever.sh.in
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2008-05-17 17:36:05 -0700
committerBrendan Cully <brendan@kublai.com>2008-05-17 17:36:05 -0700
commit27a1b5eb57b710744d7e85b5dae6ace097eee359 (patch)
treef5b9e97dc450fe1b380bc8ccadb031f44e0e8e8c /hcachever.sh.in
parentf7884cbed872e878ea7e08a4f157bc56cf92873d (diff)
Build local md5 tool for hcachever.sh. Closes #3025.
Diffstat (limited to 'hcachever.sh.in')
-rwxr-xr-xhcachever.sh.in12
1 files changed, 1 insertions, 11 deletions
diff --git a/hcachever.sh.in b/hcachever.sh.in
index 4137f8a7..730ca76b 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