summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-02 08:53:53 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-02 08:53:53 +0200
commitea8f054f819ba3461bf2caeb0a840476ee021d6a (patch)
tree39c0c887627706f36554d7167554834ff4acd1d6 /mk
parentf611b9c0e05eaaa5c1466f0996fcb402964ee58d (diff)
fix shasum wrapper on Darwin
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 64d94cb24..dfd190a55 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})"; \
- (sha256sum ${FULLDISTFILES}; echo exit) | while read sum name; do \
+ (PATH='$(HOST_PATH)' sha256sum ${FULLDISTFILES}; echo exit) | while read sum name; do \
if [[ $$sum = exit ]]; then \
[[ $$OK = n ]] && echo >&2 "==> No distfile found!" || :; \
[[ $$OK = 1 ]] || exit 1; \