mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-28 07:53:32 +08:00
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:
parent
0603125673
commit
d57669271d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user