build: download.mk: bugfix download.pl argument call order
authorFelix Fietkau <nbd@openwrt.org>
Mon, 29 Feb 2016 20:02:35 +0000 (20:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 29 Feb 2016 20:02:35 +0000 (20:02 +0000)
Change wrong download.pl argument call order.
See download.pl argument list.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Backport of r48427

SVN-Revision: 48824

include/download.mk

index 8a1205df00ff5eb5b2b88ef9d0ed07122d9a0af8..e518cce4b2793152b7f4ef92509f2be07fb5cd62 100644 (file)
@@ -48,7 +48,7 @@ define DownloadMethod/default
 endef
 
 define wrap_mirror
-       $(if $(if $(MIRROR),$(filter-out x,$(MIRROR_MD5SUM))),@$(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