Skip to content

Commit

Permalink
update checksum script
Browse files Browse the repository at this point in the history
  • Loading branch information
marina von steinkirch committed Apr 25, 2016
1 parent fcb4382 commit ed9473d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Other_Hackings/check_checksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed9473d

Please sign in to comment.