aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-05-14 01:11:55 +0800
committerjoe <joe@FreeBSD.org>2002-05-14 01:11:55 +0800
commit4833b8a0877bd998e0edee715a408a1ee10076a3 (patch)
tree478af0c18f8a98a594e9fe4c298ef2ae08c23f59 /CVSROOT
parenta95d770dbd61fffbe3446427b8e3106351631265 (diff)
downloadfreebsd-ports-gnome-4833b8a0877bd998e0edee715a408a1ee10076a3.tar.gz
freebsd-ports-gnome-4833b8a0877bd998e0edee715a408a1ee10076a3.tar.zst
freebsd-ports-gnome-4833b8a0877bd998e0edee715a408a1ee10076a3.zip
Don't confuse a universal off 'unavail' with an 'unavail|:group' for empty
groups.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/cvs_acls.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/CVSROOT/cvs_acls.pl b/CVSROOT/cvs_acls.pl
index e8a295b175bc..63eb77495658 100755
--- a/CVSROOT/cvs_acls.pl
+++ b/CVSROOT/cvs_acls.pl
@@ -155,11 +155,12 @@ while (<AVAIL>) {
my $universal_off = 1 if ($flag && !$u && !$m);
# Expand any group names into a full user list.
- $u = expand_users($u);
+ my $users = expand_users($u);
# $cfg::COMMITTER considered "in user list" if actually in list
# or is NULL
- my $in_user = (!$u || grep ($_ eq $cfg::COMMITTER, split(/[\s,]+/,$u)));
+ my $in_user = (!$u || grep ($_ eq $cfg::COMMITTER,
+ split(/[\s,]+/, $users)));
print "$$ \$cfg::COMMITTER ($cfg::COMMITTER) in user list: $rule\n"
if $debug && $in_user;
@@ -186,7 +187,7 @@ while (<AVAIL>) {
print "$$ \$repos($repos) in repository list: $rule\n"
if $debug && $in_repo;
- print "$$ Expanded user list: $u\n" if $debug;
+ print "$$ Expanded user list: $users\n" if $debug;
$exit_val = $flag if ($in_user && $in_repo);
print "$$ ==== \$exit_val = $exit_val\n$$ ==== \$flag = $flag\n"