diff options
Diffstat (limited to 'tools/cpm-hash.sh')
| -rwxr-xr-x | tools/cpm-hash.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/cpm-hash.sh b/tools/cpm-hash.sh new file mode 100755 index 0000000000..9fde15ff7d --- /dev/null +++ b/tools/cpm-hash.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in $@; do + SUM=`wget -q $i -O - | sha512sum` + echo "$i" + echo "URL_HASH SHA512=$SUM" | cut -d " " -f1-2 +done |
