aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Andreas Naumann <anaumann@ultratronik.de>2014-07-17 16:47:02 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-18 20:01:46 +0200
commit402a537b3550b422d85b74a86e78a63d22537836 (patch)
tree9acd1627079a1f3be896fe752daec6d8b1220ab3 /package/pkg-download.mk
parent275d5115dbb5afb3eaff185aa12315eb5deac8e3 (diff)
downloadbuildroot-402a537b3550b422d85b74a86e78a63d22537836.tar.gz
buildroot-402a537b3550b422d85b74a86e78a63d22537836.tar.bz2
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>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk2
1 files changed, 1 insertions, 1 deletions
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