summaryrefslogtreecommitdiff
path: root/scripts/scan-tools.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-27 07:51:34 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-27 07:51:34 +0100
commit92d7f6522617c947d635680d045f12a4ef77bcb4 (patch)
treec20dc2f36505542fdb19a2b9d1da1b33ad92fba8 /scripts/scan-tools.sh
parent6a7c5ff345b197c1d5f0f845adb2bb0da9690075 (diff)
convert checksum check to sha256
Rename the variable name to PKG_HASH and use a 256 Bit SHA checksum to verify the integrity of distfiles. While there do some housekeeping and remove old packages.
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r--scripts/scan-tools.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 8654d0d07..b55c08a1f 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -113,6 +113,12 @@ if [[ $X != *@(Native compiler works)* ]]; then
fi
rm test 2>/dev/null
+if ! which shasum >/dev/null 2>&1; then
+ echo You must install shasum to continue.
+ echo
+ out=1
+fi
+
if ! which gzip >/dev/null 2>&1; then
echo You must install gzip to continue.
echo