summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-01 13:48:14 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-01 13:48:23 -0500
commit8c9c4a3460061926147b67c0a14bf23fa9f44a10 (patch)
tree18e1616e99a7dd4be3fca3d48bf2e21123529d1b
parenta797fbeb4d82187d10df431c6e5a3dc0a33e5b35 (diff)
use sha256sum
-rw-r--r--mk/fetch.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 6365b4c13..64d94cb24 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -31,7 +31,7 @@ ifneq ($(ADK_DISABLE_CHECKSUM),y)
@if [ ! -e $(firstword ${FULLDISTFILES}).nohash ]; then \
OK=n; \
allsums="$(strip ${PKG_HASH})"; \
- (shasum -a 256 ${FULLDISTFILES}; echo exit) | while read sum name; do \
+ (sha256sum ${FULLDISTFILES}; echo exit) | while read sum name; do \
if [[ $$sum = exit ]]; then \
[[ $$OK = n ]] && echo >&2 "==> No distfile found!" || :; \
[[ $$OK = 1 ]] || exit 1; \