From: Andreas Naumann Date: Thu, 17 Jul 2014 14:47:02 +0000 (+0200) Subject: pkg-download: Fix DOWNLOAD_LOCALFILES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=402a537b3550b422d85b74a86e78a63d22537836;p=buildroot.git 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 Acked-by: "Yann E. MORIN" --- diff --git a/package/pkg-download.mk b/package/pkg-download.mk index 7f208d538b..118591ce48 100644 --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -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