diff options
author | Andreas Schwab <schwab@suse.de> | 2024-05-14 12:53:55 +0200 |
---|---|---|
committer | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2024-05-15 01:43:20 +0200 |
commit | 70324d37b3fbd854aa670943425d540c96e43914 (patch) | |
tree | 715fe797427f3b73bf830b0d17d9b3cfa6ebd46e | |
parent | 4dd159207a5a8b1ef8f7fc719e470b55c93f24f0 (diff) | |
download | quilt-master.tar.gz |
[In addition, escape backslash (\) as well.]
Signed-off-by: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
-rw-r--r-- | quilt/scripts/patchfns.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in index aefb279..2db4c82 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() |