* config/announce-gen (print_changelog_deltas): Neutralize "<#" as

"<#" to avoid magic from Gnus when posting parts of this script.
This commit is contained in:
Akim Demaille
2003-08-26 07:13:52 +00:00
parent a08460b08c
commit 89e1cc61b7
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2003-08-26 Akim Demaille <akim@epita.fr>
* config/announce-gen (print_changelog_deltas): Neutralize "<#" as
"<\#" to avoid magic from Gnus when posting parts of this script.
2003-08-26 Akim Demaille <akim@epita.fr> 2003-08-26 Akim Demaille <akim@epita.fr>
* data/lalr1.cc (Parser::report_syntax_error_): New, extracted from * data/lalr1.cc (Parser::report_syntax_error_): New, extracted from

View File

@@ -226,11 +226,13 @@ sub print_changelog_deltas ($$)
$fail $fail
and exit 1; and exit 1;
# The markup is escaped as <\# so that when this script is sent by
# mail (or part of a diff), Gnus is not triggered.
print <<EOF; print <<EOF;
Subject: $my_distdir released Subject: $my_distdir released
<#secure method=pgpmime mode=sign> <\#secure method=pgpmime mode=sign>
FIXME: put comments here FIXME: put comments here
@@ -263,8 +265,10 @@ EOF
print "\nHere are the MD5 and SHA1 signatures:\n"; print "\nHere are the MD5 and SHA1 signatures:\n";
print "\n"; print "\n";
print "<#part type=text/plain filename=\"$tmp\" disposition=inline>\n" # The markup is escaped as <\# so that when this script is sent by
. "<#/part>\n"; # mail (or part of a diff), Gnus is not triggered.
print "<\#part type=text/plain filename=\"$tmp\" disposition=inline>\n"
. "<\#/part>\n";
open OUT, '>', $tmp open OUT, '>', $tmp
or die "$ME: $tmp: cannot open for writing: $!\n"; or die "$ME: $tmp: cannot open for writing: $!\n";