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>
This commit is contained in:
Thomas De Schampheleire 2012-06-22 07:42:35 +02:00 committed by Thomas Petazzoni
parent 0603125673
commit d57669271d

View File

@ -178,11 +178,11 @@ endef
define DOWNLOAD_LOCALFILES define DOWNLOAD_LOCALFILES
test -e $(DL_DIR)/$(2) || \ test -e $(DL_DIR)/$(2) || \
$(LOCALFILES) $(call qstrip,$(subst file://,,$(1))) $(DL_DIR) $(LOCALFILES) $(call stripurischeme,$(call qstrip,$(1))) $(DL_DIR)
endef endef
define SOURCE_CHECK_LOCALFILES define SOURCE_CHECK_LOCALFILES
test -e $(call qstrip,$(subst file://,,$(1))) test -e $(call stripurischeme,$(call qstrip,$(1)))
endef endef
define SHOW_EXTERNAL_DEPS_LOCALFILES define SHOW_EXTERNAL_DEPS_LOCALFILES