On Thu, 4 Jun 2026 at 04:31, Karsten Sperling via openwrt-devel
<[email protected]> wrote:
>
> The sender domain has a DMARC Reject/Quarantine policy which disallows
> sending mailing list messages using the original "From" header.
>
> To mitigate this problem, the original message has been wrapped
> automatically by the mailing list software.
>
>
> ---------- Forwarded message ----------
> From: Karsten Sperling <[email protected]>
> To: [email protected]
> Cc:
> Bcc:
> Date: Thu, 04 Jun 2026 14:30:26 +1200
> Subject: [PATCH] build: fix recipe line break in wrap_mirror fallback path
> Commit 042996b46b ("build: stricter hash validation on download")
> refactored the $(if) in wrap_mirror from a single line to multiple lines.
> The else branch (used when MIRROR is empty) was moved to a new line without
> a trailing backslash on the preceding line. This causes download methods
> that use wrap_mirror (e.g. git) to fail when PKG_SOURCE_MIRROR is 0:
>
>     SHELL= flock ...flock -c '  ...
>     bash: -c: line 1: unexpected EOF while looking for matching `''
>
> The fix is to add the missing \ to the else branch.
>
> Signed-off-by: Karsten Sperling <[email protected]>

Merged, thanks.

Regards,
Robert
> ---
>  include/download.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/download.mk b/include/download.mk
> index 47af9227c3..b9d71f2c1a 100644
> --- a/include/download.mk
> +++ b/include/download.mk
> @@ -161,7 +161,7 @@ $(if $(if $(MIRROR), \
>                                 echo "Hash mismatch for file $(FILE): 
> expected $(MIRROR_HASH), got $$$$file_hash"; \
>                                 false; \
>                         }; \
> -               )),
> +               )), \
>         $(3)) \
>  $(if $(filter check,$(1)), \
>         $(call check_hash,$(FILE),$(MIRROR_HASH),$(2)MIRROR_$(call 
> hash_var,$(MIRROR_MD5SUM))) \
> --
> 2.50.1 (Apple Git-155)
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to