From 46ca3840aa97b3e0bd75518907680a7c9c116252 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 3 Jun 2004 16:23:01 +0000 Subject: add AUTHOR environment option for my warly reports --- tools/cvslog2changelog.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/cvslog2changelog.pl b/tools/cvslog2changelog.pl index 9eab56884..77d67449b 100755 --- a/tools/cvslog2changelog.pl +++ b/tools/cvslog2changelog.pl @@ -17,6 +17,8 @@ while (<>) { foreach $date (reverse sort keys %l) { foreach $user (sort keys %{$l{$date}}) { + next if $ENV{AUTHOR} && $ENV{AUTHOR} ne $user; + $fuser = $users{$user} || $user; print "$date $fuser\n\n"; my %inv; -- cgit v1.2.1