diff options
author | peter <peter@FreeBSD.org> | 2003-02-28 21:18:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-02-28 21:18:03 +0000 |
commit | 5b1c6d642832b0f256135efeaeababdc2aa0c1db (patch) | |
tree | f5c64ac7071de75f13f496ed0322e52c7a22c84b /CVSROOT/cfg_local.pm | |
parent | 0854a26510ae0e93b50166687005156bff01df0f (diff) | |
download | FreeBSD-ports-5b1c6d642832b0f256135efeaeababdc2aa0c1db.zip FreeBSD-ports-5b1c6d642832b0f256135efeaeababdc2aa0c1db.tar.gz |
Add commit attributes if set
Diffstat (limited to 'CVSROOT/cfg_local.pm')
-rw-r--r-- | CVSROOT/cfg_local.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CVSROOT/cfg_local.pm b/CVSROOT/cfg_local.pm index 923a37e..ceea0fd 100644 --- a/CVSROOT/cfg_local.pm +++ b/CVSROOT/cfg_local.pm @@ -30,6 +30,10 @@ $MAILCMD = "/usr/local/bin/mailsend -H"; $MAIL_BRANCH_HDR = "X-FreeBSD-CVS-Branch"; $ADD_TO_LINE = 0; $MAILBANNER = "FreeBSD ports repository"; +if (defined $ENV{'CVS_COMMIT_ATTRIB'}) { + my $attrib = $ENV{'CVS_COMMIT_ATTRIB'}; + $MAILBANNER .= " ($attrib committer)"; +} # Sanity check to make sure we've been run through the wrapper and are # now primary group 'pcvs'. |