-
Committer:
Jean Delvare
-
Date:
2022-06-23 12:36:58 UTC
-
Revision ID:
git-v1:ce9c68abb7cee0b4fb0d5a7ff7048d0ab3b726f8
patchfns: Compatibility fix for BSD awk
"+" needs to be quoted to be considered as a literal "+" by BSD awk.
Without this fix, patch_header() fails to find the beginning of the
changes and treats the whole patch as a header, subsequently causing
"quilt refresh" to append the refreshed patch after the original one
instead of replacing it.
Bug reported and fix suggested by Dominic Evans.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 1d94980dbdd4 ("Tighten the patch format parsing")