cvs: CVSROOT / loginfo.pl

From: Date: Fri, 02 Mar 2001 23:46:09 +0000
Subject: cvs: CVSROOT / loginfo.pl
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4355@lists.php.net to get a copy of this message
andrei Fri Mar 2 15:46:09 2001 EDT Modified files: /CVSROOT loginfo.pl Log: Send only php4 changelog commits to php-cvs list. Index: CVSROOT/loginfo.pl diff -u CVSROOT/loginfo.pl:1.39 CVSROOT/loginfo.pl:1.40 --- CVSROOT/loginfo.pl:1.39 Fri Dec 22 17:12:23 2000 +++ CVSROOT/loginfo.pl Fri Mar 2 15:46:08 2001 @@ -38,17 +38,17 @@ my $envaddr = $mailto; my $cvsuser = shift; -if ($cvsuser eq "changelog") { - $envaddr = "php-cvs-daily-private\@lists.php.net"; - $mailto = "php-cvs-daily\@lists.php.net"; -} - my @args = split(" ", $ARGV[0]); my $directory = shift @args; # extract just the module name from the directory my $module = $directory; $module =~ s/\/.+$//; + +if ($cvsuser eq "changelog" && $module eq "php4") { + $envaddr = "php-cvs-daily-private\@lists.php.net"; + $mailto = "php-cvs-daily\@lists.php.net"; +} # bail when this is a new directory &bail if $args[0] eq '-' && "$args[1] $args[2]" eq 'New directory';

« previous php.cvs (#4355) next »