cvs: CVSROOT / commitinfo cvs_acls

From: Date: Mon, 08 Jan 2001 05:20:42 +0000
Subject: cvs: CVSROOT / commitinfo cvs_acls
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3440@lists.php.net to get a copy of this message
rasmus Sun Jan 7 21:20:42 2001 EDT Modified files: /CVSROOT commitinfo cvs_acls Log: Give it another shot - pass in user id Index: CVSROOT/commitinfo diff -u CVSROOT/commitinfo:1.8 CVSROOT/commitinfo:1.9 --- CVSROOT/commitinfo:1.8 Sun Jan 7 21:06:36 2001 +++ CVSROOT/commitinfo Sun Jan 7 21:20:42 2001 @@ -1,5 +1,5 @@ # -#ident "@(#)cvs/examples:$Name: $:$Id: commitinfo,v 1.8 2001/01/08 05:06:36 rasmus Exp $" +#ident "@(#)cvs/examples:$Name: $:$Id: commitinfo,v 1.9 2001/01/08 05:20:42 rasmus Exp $" # # The "commitinfo" file is used to control pre-commit checks. # The filter on the right is invoked with the repository and a list @@ -33,4 +33,4 @@ .*distributions.* /bin/true DEFAULT $CVSROOT/CVSROOT/commitinfo.pl -#ALL /usr/local/bin/cvs_acls +ALL /usr/local/bin/cvs_acls $USER Index: CVSROOT/cvs_acls diff -u CVSROOT/cvs_acls:1.1 CVSROOT/cvs_acls:1.2 --- CVSROOT/cvs_acls:1.1 Sun Jan 7 20:46:51 2001 +++ CVSROOT/cvs_acls Sun Jan 7 21:20:42 2001 @@ -77,7 +77,8 @@ $debug = 0; $cvsroot = $ENV{'CVSROOT'}; $availfile = $cvsroot . "/CVSROOT/avail"; -$myname = $ENV{"USER"} if !($myname = $ENV{"LOGNAME"}); +$myname = shift @ARGV; # Pass user id as first arg -RL +#$myname = $ENV{"USER"} if !($myname = $ENV{"LOGNAME"}); eval "print STDERR \$die='Unknown parameter $1\n' if !defined \$$1; \$$1=\$';" while ($ARGV[0] =~ /^(\w+)=/ && shift(@ARGV));

« previous php.cvs (#3440) next »