quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] quilt mail broken with sed 3.02


From: Jean Delvare
Subject: [Quilt-dev] quilt mail broken with sed 3.02
Date: Mon, 30 Jan 2006 20:52:30 +0100

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




reply via email to

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