aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-06 13:45:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-06 13:45:53 +0000
commitc0f8e0416568ed4b480970ad63a2d8f7fb2550c5 (patch)
treeabd82fafae6a5504825f542500f29668490e4238
parentcc14bc096e025302a4fa03d86708a9c1605185d4 (diff)
downloadmaster-187ad058-c0f8e0416568ed4b480970ad63a2d8f7fb2550c5.tar.gz
master-187ad058-c0f8e0416568ed4b480970ad63a2d8f7fb2550c5.tar.bz2
master-187ad058-c0f8e0416568ed4b480970ad63a2d8f7fb2550c5.zip
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32079 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk
index 6cc10d95c3..823ddf93f8 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