The quilt test-suite fails when using mawk or original-awk instead of gawk.
After applying this patch to mail.in, all tests run fine. It just drops a check
for a word boundary which is a gawk-extension. I think it is safe to apply it
as there is very similar code a few lines later which does neither use
word-boundary checks. It has been applied in Debian for a year now and no
side-effects have been reported.

Signed-off-by: Wolfram Sang <[EMAIL PROTECTED]>
---
 quilt/mail.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: quilt/quilt/mail.in
===================================================================
--- quilt.orig/quilt/mail.in
+++ quilt/quilt/mail.in
@@ -308,9 +308,9 @@ then
                if [ -z "$subject" ]
                then
                        local desc=$(awk '
-                               /^EDESC\>/      { desc = 0 }
+                               /^EDESC/        { desc = 0 }
                                desc            { print }
-                               /^DESC\>/       { desc = 1 }
+                               /^DESC/ { desc = 1 }
                                ' $tmpdir/header)
                        if [ -n "$desc" ]
                        then



_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to