Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

pkg-infra: Fix DOWNLOAD_LOCALFILES

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

package/pkg-download.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 7f208d5..118591c 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

Viewing all articles
Browse latest Browse all 6551

Trending Articles