pkg-download: Fix DOWNLOAD_LOCALFILES

The cp helperscript expects a filename as target, but just the folder
name was given.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Andreas Naumann 2014-07-17 16:47:02 +02:00 committed by Thomas Petazzoni
parent 275d5115db
commit 402a537b35

View File

@ -206,7 +206,7 @@ endef
define DOWNLOAD_LOCALFILES
test -e $(DL_DIR)/$(2) || \
$(EXTRA_ENV) support/download/cp $(call stripurischeme,$(call qstrip,$(1))) \
$(DL_DIR) && \
$(DL_DIR)/$(2) && \
$(call VERIFY_HASH,$(PKGDIR)/$($(PKG)_NAME).hash,$(DL_DIR)/$(2))
endef