quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH] patch_format: escape all occurences of %


From: Andreas Schwab
Subject: [Quilt-dev] [PATCH] patch_format: escape all occurences of %
Date: Tue, 14 May 2024 12:53:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

---
 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"
 }
 
 setup_colors()
-- 
2.45.0


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]