Browse Source

mk/fetch.mk: fix .nohash hack for packages with multiple distfiles

Phil Sutter 9 years ago
parent
commit
9405258299
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mk/fetch.mk

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