Hi all,

I have a system where the quilt test suite fails on mail.test. This
seems to be caused by GNU sed 3.02 not supporting command Q. I've never
noticed it before because the test suite did not cover the mail command
until very recently (good that it was added, BTW.)

The following patch fixes it:

Index: quilt/mail.in
===================================================================
RCS file: /cvsroot/quilt/quilt/quilt/mail.in,v
retrieving revision 1.16
diff -u -r1.16 mail.in
--- quilt/mail.in       30 Jan 2006 16:44:19 -0000      1.16
+++ quilt/mail.in       30 Jan 2006 19:49:00 -0000
@@ -422,12 +422,12 @@
        p=${p//@total@/$total}
        (       echo "Message-Id: <$(msgid)>"
                sed -e 's/^Message-Id:/References:/' \
-                   -e '/^$/Q' \
+                   -ne '/^$/q;p' \
                    $introduction
                echo "Content-Disposition: inline; filename=$patch"
                sed -e '/^Recipient-.*:/d' \
                    -e '/^Replace-.*:/d' \
-                   -e '/^$/Q' \
+                   -ne '/^$/q;p' \
                    $body
                awk '
                /^$/    { in_body = 1 }


So I'll just apply that. No objection?

Thanks,
-- 
Jean Delvare


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

Reply via email to