All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2 of 6 resend] pkg-download.mk: use stripurischeme function in localfiles download method
Date: Fri, 22 Jun 2012 07:42:35 +0200	[thread overview]
Message-ID: <b387bac066924704f2cc.1340343755@beantl019720> (raw)
In-Reply-To: <patchbomb.1340343753@beantl019720>

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

---
 package/pkg-download.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/pkg-download.mk b/package/pkg-download.mk
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -175,11 +175,11 @@ endef
 
 define DOWNLOAD_LOCALFILES
 	test -e $(DL_DIR)/$(2) || \
-		$(LOCALFILES) $(call qstrip,$(subst file://,,$(1))) $(DL_DIR)
+		$(LOCALFILES) $(call stripurischeme,$(call qstrip,$(1))) $(DL_DIR)
 endef
 
 define SOURCE_CHECK_LOCALFILES
-  test -e $(call qstrip,$(subst file://,,$(1)))
+  test -e $(call stripurischeme,$(call qstrip,$(1)))
 endef
 
 define SHOW_EXTERNAL_DEPS_LOCALFILES

  parent reply	other threads:[~2012-06-22  5:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22  5:42 [Buildroot] [PATCH 0 of 6 resend] Improve support for custom external toolchains (and related changes) Thomas De Schampheleire
2012-06-22  5:42 ` [Buildroot] [PATCH 1 of 6 resend] pkg-download.mk: allow using localfiles outside of package infrastructure Thomas De Schampheleire
2012-07-15 11:24   ` Arnout Vandecappelle
2012-07-16  3:14     ` Thomas De Schampheleire
2012-07-17  7:34       ` Arnout Vandecappelle
2012-07-22 16:24   ` Thomas Petazzoni
2012-06-22  5:42 ` Thomas De Schampheleire [this message]
2012-07-15 11:25   ` [Buildroot] [PATCH 2 of 6 resend] pkg-download.mk: use stripurischeme function in localfiles download method Arnout Vandecappelle
2012-06-22  5:42 ` [Buildroot] [PATCH 3 of 6 resend] pkg-download.mk: support detection of URI schemes in DOWNLOAD Thomas De Schampheleire
2012-07-15 11:28   ` Arnout Vandecappelle
2012-06-22  5:42 ` [Buildroot] [PATCH 4 of 6 resend] toolchain-external/Config.in: fix indentation Thomas De Schampheleire
2012-07-15 11:30   ` Arnout Vandecappelle
2012-06-22  5:42 ` [Buildroot] [PATCH 5 of 6 resend] toolchain-external: allow downloading a custom toolchain Thomas De Schampheleire
2012-07-15 11:44   ` Arnout Vandecappelle
2012-06-22  5:42 ` [Buildroot] [PATCH 6 of 6 resend] toolchain-external: line up comments with reality Thomas De Schampheleire
2012-07-15 11:32   ` Arnout Vandecappelle

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=b387bac066924704f2cc.1340343755@beantl019720 \
    --to=patrickdepinguin+buildroot@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.