Commit 229e64ef authored by rich prohaska's avatar rich prohaska

#45 parse md5sum or jacksum files

parent b99034fd
......@@ -71,8 +71,10 @@ if [ ! -f $mysqltarball.md5 ] ; then
if [ $? -ne 0 ] ; then exit 1; fi
fi
# check the md5 sum
md5sum --check $mysqltarball.md5
if [ $? -ne 0 ] ; then
# support jacksum md5 output which is almost the same as md5sum
diff -b <(cat $mysqltarball.md5) <(md5sum $mysqltarball)
if [ $? -ne 0 ] ; then exit 1; fi
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment