Explorar o código

use sha256sum

Waldemar Brodkorb %!s(int64=9) %!d(string=hai) anos
pai
achega
8c9c4a3460
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mk/fetch.mk

+ 1 - 1
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; \