mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 18:59:13 +08:00
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
SVN-Revision: 32079
This commit is contained in:
parent
23fc737b9d
commit
e8ff034c8b
@ -45,7 +45,7 @@ define DownloadMethod/default
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define wrap_mirror
|
define wrap_mirror
|
||||||
$(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MIRROR_MD5SUM)" || ( $(1) ),$(1))
|
$(if $(if $(MIRROR),$(filter-out x,$(MIRROR_MD5SUM))),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MIRROR_MD5SUM)" || ( $(1) ),$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define DownloadMethod/cvs
|
define DownloadMethod/cvs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user