diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2015-02-24 12:46:48 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-28 10:14:21 +0100 |
commit | 9405258299212c12f639e0d200c5721e24c887f3 (patch) | |
tree | b600ae0935224660d5c89456d5675e9765a831e8 /mk | |
parent | a1f303c316be60e5a282a6a6a27726152b529a51 (diff) |
mk/fetch.mk: fix .nohash hack for packages with multiple distfiles
Diffstat (limited to '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 5fb13a29e..6365b4c13 100644 --- a/mk/fetch.mk +++ b/mk/fetch.mk @@ -28,7 +28,7 @@ ifeq ($(strip ${PKG_NOCHECKSUM}),) ${_CHECKSUM_COOKIE}: ${FULLDISTFILES} -rm -rf ${WRKDIR} ifneq ($(ADK_DISABLE_CHECKSUM),y) - @if [ ! -e "${FULLDISTFILES}.nohash" ]; then \ + @if [ ! -e $(firstword ${FULLDISTFILES}).nohash ]; then \ OK=n; \ allsums="$(strip ${PKG_HASH})"; \ (shasum -a 256 ${FULLDISTFILES}; echo exit) | while read sum name; do \ |