Am Di., 14. Mai 2024 um 12:54 Uhr schrieb Andreas Schwab <sch...@suse.de>:
>
> ---
>  quilt/scripts/patchfns.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in
> index aefb279..937e804 100644
> --- a/quilt/scripts/patchfns.in
> +++ b/quilt/scripts/patchfns.in
> @@ -1073,7 +1073,7 @@ patch_format()
>  {
>         local prefix=${QUILT_PATCHES_PREFIX:+$SUBDIR_DOWN$QUILT_PATCHES/}
>
> -       echo -n "${prefix/\%/%%}%s"
> +       echo -n "${prefix//%/%%}%s"

Thanks, that's better, but since that's used as a printf format
string, shouldn't backslashes also be escaped, like
${prefix//[%\\]/&&}?

Andreas

_______________________________________________
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to