X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a4d094be2ac657698039b16163822b8ccd32f0d9..97316ddfc2f4ab817bf9df7746fde0b32fca774a:/include/download.mk diff --git a/include/download.mk b/include/download.mk index 3c7cb7e77..23f2996ed 100644 --- a/include/download.mk +++ b/include/download.mk @@ -39,9 +39,7 @@ define DownloadMethod/default endef define wrap_mirror - @$(if $(CONFIG_LOCALMIRROR),$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ) \ - ( $(1) ) \ - $(if $(CONFIG_LOCALMIRROR),, || $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x") + @$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) ) endef define DownloadMethod/svn