summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Quinson <martin.quinson@loria.fr>2013-12-08 21:25:08 +0100
committerMartin Quinson <martin.quinson@loria.fr>2013-12-08 21:25:12 +0100
commite10c85dfa69233a08349212dcfd10453bc2dd23d (patch)
tree6787e9738122597e11b5492611d2163256581636
parentc0bcdcb806a03a45dc7296e1e39fdf0f1b6c2eb3 (diff)
downloadquilt-e10c85dfa69233a08349212dcfd10453bc2dd23d.tar.gz
fix the mail command so that it passes the testsuite
(even if I'm not sure why the previous version breaks)
-rw-r--r--quilt/mail.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/quilt/mail.in b/quilt/mail.in
index 7ffefcf..8e84433 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -393,8 +393,8 @@ then
sed -n -e "/\<${LOGNAME:-$(whoami)}@/d" \
-e 's/^\(\(To\|'"$*"'\):[ '$'\t'']*\)\([^"]*\(,[^"]*\)\+[^" '$'\t'']\)\([ '$'\t'']*<.*>\)/\1"\3"\5/I' \
- -e 's/^To:\(.+@.+\)/Recipient-To:\1/Ip' \
- -e 's/^\('"$*"'\):\(.+@.+\)/Recipient-Cc:\2/Ip' \
+ -e 's/^To:\(.*@.*\)/Recipient-To:\1/Ip' \
+ -e 's/^\('"$*"'\):\(.*@.*\)/Recipient-Cc:\2/Ip' \
$tmpdir/header
echo