aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>2012-06-22 07:42:35 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-22 16:53:24 +0200
commitd57669271d079b3bf09c5ae81f42871260d60c49 (patch)
tree2fea3cb4ae9b787d07d1df72e82bc3dec02d133b /package/pkg-download.mk
parent060312567323024ec6fd90e4cec1485816cec811 (diff)
downloadbuildroot-d57669271d079b3bf09c5ae81f42871260d60c49.tar.gz
buildroot-d57669271d079b3bf09c5ae81f42871260d60c49.tar.bz2
pkg-download.mk: use stripurischeme function in localfiles download method
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index fb51540765..ca5b40466a 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -178,11 +178,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