diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-06 13:45:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-06 13:45:53 +0000 |
commit | e8ff034c8b2135a97f81c9ccc754b10cb66a2038 (patch) | |
tree | 668bce4f0b6a56032a576be70ad0fb2f9ce4e9a5 /include | |
parent | 23fc737b9da8fa75122e0442089e39c9d5389d81 (diff) | |
download | mtk-20170518-e8ff034c8b2135a97f81c9ccc754b10cb66a2038.zip mtk-20170518-e8ff034c8b2135a97f81c9ccc754b10cb66a2038.tar.gz mtk-20170518-e8ff034c8b2135a97f81c9ccc754b10cb66a2038.tar.bz2 |
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
SVN-Revision: 32079
Diffstat (limited to 'include')
-rw-r--r-- | include/download.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk index 6cc10d9..823ddf9 100644 --- a/include/download.mk +++ b/include/download.mk @@ -45,7 +45,7 @@ define DownloadMethod/default endef 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 define DownloadMethod/cvs |