Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Naumann <dev@andin.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] pkg-infra: Fix DOWNLOAD_LOCALFILES
Date: Fri, 18 Jul 2014 09:12:09 +0200	[thread overview]
Message-ID: <53C8C8C9.1000004@andin.de> (raw)
In-Reply-To: <1405609578-28052-1-git-send-email-anaumann@ultratronik.de>

 From 40ba2efd131a4fd70e44a0f9f96c4637da279df8 Mon Sep 17 00:00:00 2001
From: Andreas Naumann <anaumann@ultratronik.de>
Date: Thu, 17 Jul 2014 16:47:02 +0200
Subject: [PATCH 1/6] pkg-infra: 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>
---
  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

-- 
1.8.3.2

  parent reply	other threads:[~2014-07-18  7:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17 15:06 [Buildroot] [PATCH] pkg-infra: Fix DOWNLOAD_LOCALFILES Andreas Naumann
2014-07-17 16:52 ` Yann E. MORIN
2014-07-18  7:12 ` Andreas Naumann [this message]
2014-07-18 16:46   ` Yann E. MORIN
2014-07-18 18:02   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C8C8C9.1000004@andin.de \
    --to=dev@andin.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox