From: Thomas De Schampheleire Date: Fri, 22 Jun 2012 05:42:35 +0000 (+0200) Subject: pkg-download.mk: use stripurischeme function in localfiles download method X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d57669271d079b3bf09c5ae81f42871260d60c49;p=buildroot.git pkg-download.mk: use stripurischeme function in localfiles download method Signed-off-by: Thomas De Schampheleire Signed-off-by: Thomas Petazzoni --- 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