update checksum script

This commit is contained in:
marina von steinkirch 2016-04-24 22:25:59 -07:00
parent 7ae6b4572f
commit e014e27fc1

View File

@ -3,10 +3,10 @@
# usage:
# ./check_checksum.sh <file> <hash>
filehash=`md5 -q $1`
filehash=`sha1sum $1`
echo "Checking file: $1, calculated as $filehash"
echo "Using MD5 file: $2"
echo "Using SHA1 file: $2"
if [ $filehash != $2 ]
then