diff options
author | joe <joe@FreeBSD.org> | 2001-11-15 19:52:21 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-11-15 19:52:21 +0800 |
commit | 488e9660cad5124709fa9945a5e7694dd3ecee77 (patch) | |
tree | ed94419ee496610e7ec4093fc263b5ad84444d88 | |
parent | 502932bd661271281e3245dfd43cbef6dc4fa105 (diff) | |
download | freebsd-ports-gnome-488e9660cad5124709fa9945a5e7694dd3ecee77.tar.gz freebsd-ports-gnome-488e9660cad5124709fa9945a5e7694dd3ecee77.tar.zst freebsd-ports-gnome-488e9660cad5124709fa9945a5e7694dd3ecee77.zip |
Show who mail is being sent to.
Submitted by: Jon Parise <jon@csh.rit.edu>
-rwxr-xr-x | CVSROOT/log_accum.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index 88260566488a..a8575ade0c08 100755 --- a/CVSROOT/log_accum.pl +++ b/CVSROOT/log_accum.pl @@ -428,8 +428,6 @@ sub do_changes_file { sub mail_notification { my @text = @_; - print "Mailing the commit message...\n"; - # This is turned off since the To: lines go overboard. # Also it has bit-rotted since, and can't just be switched on again. # - but keep it for the time being in case we do something like cvs-stable @@ -446,6 +444,8 @@ sub mail_notification { my @email = (); my $to = $cfg::MAILADDRS; + print "Mailing the commit message to '$to'.\n"; + push @email, "To: $to" if $cfg::ADD_TO_LINE; my $subject = 'Subject: cvs commit:'; |