summaryrefslogtreecommitdiffstats
path: root/CVSROOT/log_accum.pl
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-10-23 15:47:26 +0000
committerjoe <joe@FreeBSD.org>2001-10-23 15:47:26 +0000
commit6897c4288a1bd44840f0adce4517451cf8f4c9de (patch)
tree94f5e8d1b05779147b35765ba9bf3a664f473335 /CVSROOT/log_accum.pl
parent0ad42b286162f3c3b7f70f0f6151e5e19b8c69a3 (diff)
downloadFreeBSD-ports-6897c4288a1bd44840f0adce4517451cf8f4c9de.zip
FreeBSD-ports-6897c4288a1bd44840f0adce4517451cf8f4c9de.tar.gz
Move the mail header that carries the list of branches that were
committed to into the config file.
Diffstat (limited to 'CVSROOT/log_accum.pl')
-rwxr-xr-xCVSROOT/log_accum.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index c41b663..4cad459 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -49,8 +49,6 @@ my $MAIL_FILE = "$BASE_FN.mail";
my $SUBJ_FILE = "$BASE_FN.subj";
my $TAGS_FILE = "$BASE_FN.tags";
-my $X_BRANCH_HDR = "X-FreeBSD-CVS-Branch:";
-
my $CVSROOT = $ENV{'CVSROOT'} || "/home/ncvs";
############################################################
@@ -477,9 +475,10 @@ sub mail_notification {
# If required add a header to the mail msg showing
# which branches were modified during the commit.
- if ($X_BRANCH_HDR) {
+ if ($cfg::MAIL_BRANCH_HDR) {
my %tags = map { $_ => 1 } &read_logfile($TAGS_FILE);
- print MAIL "$X_BRANCH_HDR ", join(",", sort keys %tags), "\n";
+ print MAIL $cfg::MAIL_BRANCH_HDR, ": ";
+ print MAIL join(",", sort keys %tags), "\n";
}
print MAIL "\n";
OpenPOWER on IntegriCloud