diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-12-11 22:40:55 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-12-11 22:40:55 +0100 |
commit | 74663fdbbd1dc92dd91f6f88dbc4f972df12c404 (patch) | |
tree | 284817a1c9ff266a6474ae9d441eb53e7c514e6c /mk/fetch.mk | |
parent | 5847a9730ff284181c4087ed9ce85cf9955c47c3 (diff) |
Revert "rework prereq check"
This reverts commit fba2ff31928b18364c1934654169806f5c800e23.
Diffstat (limited to 'mk/fetch.mk')
-rw-r--r-- | mk/fetch.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk index ccd2ff327..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})"; \ - ($${SHA256} ${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; \ |