diff options
author | peter <peter@FreeBSD.org> | 2000-01-09 17:20:29 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-09 17:20:29 +0800 |
commit | c296620d565acb1a72295e78349bf7ce2f7c2d7f (patch) | |
tree | c8711035513c72e4599544dad928760c6b8d800b | |
parent | 6102975409fb8db83d2bce511d571fc2d368f01c (diff) | |
download | freebsd-ports-gnome-c296620d565acb1a72295e78349bf7ce2f7c2d7f.tar.gz freebsd-ports-gnome-c296620d565acb1a72295e78349bf7ce2f7c2d7f.tar.zst freebsd-ports-gnome-c296620d565acb1a72295e78349bf7ce2f7c2d7f.zip |
Allow a second whitespace-delimited word on an access line to override
the email address.
-rwxr-xr-x | CVSROOT/commitmail.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CVSROOT/commitmail.pl b/CVSROOT/commitmail.pl index 8a8c5c8c9680..923dfbf25b34 100755 --- a/CVSROOT/commitmail.pl +++ b/CVSROOT/commitmail.pl @@ -14,7 +14,11 @@ while (<ACCESS>) { if ($words[0] =~ /^[#\/;]/) { next; } - push @names, $words[0]; + if ($words[1]) { + push @names, $words[1]; + } else { + push @names, $words[0]; + } } $list = join(" ", @names); if ($list ne '') { |