~ubuntu-branches/ubuntu/trusty/quilt/trusty

« back to all changes in this revision

Viewing changes to .pc/use-sensible-editor/quilt/mail.in

  • Committer: Package Import Robot
  • Author(s): Martin Quinson
  • Date: 2013-12-09 01:02:14 UTC
  • mfrom: (15.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20131209010214-pv46el3hqhu2m0v2
Tags: 0.61-1
* New upstream release. 
  - Update our patches against this new release; drop accepted ones:
    doc_search_of_patches, default_pager_less-R,
    handling_of_patches_with_column_in_their_name
  - Rename d/p/fix-test-setup to d/p/setup-dont-read-pc: upstream
    setup don't work when our .pc directory changes QUILT_PATCHES to 
    debian/patches. We used to have a little hacky solution, but
    it's not enough anymore, so make it right.

Show diffs side-by-side

added added

removed removed

Lines of Context:
406
406
 
407
407
                sed -n -e "/\<${LOGNAME:-$(whoami)}@/d" \
408
408
                       -e 's/^\(\(To\|'"$*"'\):[ '$'\t'']*\)\([^"]*\(,[^"]*\)\+[^" '$'\t'']\)\([ '$'\t'']*<.*>\)/\1"\3"\5/I' \
409
 
                       -e 's/^To:\(.*<.*@.*>\)/Recipient-To:\1/Ip' \
410
 
                       -e 's/^\('"$*"'\):\(.*<.*@.*>\)/Recipient-Cc:\2/Ip' \
 
409
                       -e 's/^To:\(.*@.*\)/Recipient-To:\1/Ip' \
 
410
                       -e 's/^\('"$*"'\):\(.*@.*\)/Recipient-Cc:\2/Ip' \
411
411
                    $tmpdir/header
412
412
 
413
413
                echo
638
638
                                { print }
639
639
                ' $introduction
640
640
                references_header $introduction
 
641
                echo "MIME-Version: 1.0"
 
642
                echo "Content-Type: text/plain; charset=$opt_charset"         
641
643
                echo "Content-Disposition: inline; filename=$patch"
642
644
                awk '
643
645
                    kill_header { if (/^[ \t]/) next ; kill_header = 0 }