mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
using blake2 checksums (pcp1 -C) now
This commit is contained in:
13
tests/md5
13
tests/md5
@@ -1,12 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
file=$1
|
file=$1
|
||||||
if type md5 > /dev/null 2>&1; then
|
../src/pcp1 -C $file | awk '{print $4}'
|
||||||
md5 -q $*
|
|
||||||
elif type md5sum > /dev/null 2>&1; then
|
|
||||||
md5sum $* | awk '{print $1}'
|
|
||||||
elif type openssl > /dev/null 2>&1; then
|
|
||||||
openssl md5 -r $* | awk '{print $1}'
|
|
||||||
else
|
|
||||||
echo "no MD5 tool found!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user