perms matching fix
This commit is contained in:
parent
bfbcf9dbd0
commit
bc81ab8dc7
1 changed files with 3 additions and 3 deletions
|
|
@ -192,14 +192,14 @@ EOT
|
|||
close FH;
|
||||
my $cwd = cwd;
|
||||
chdir dirname($permsfile);
|
||||
system("$cvscmd add " . &basename($permsfile));
|
||||
system("cvscmd ci -m initial " . &basename($permsfile));
|
||||
system("$cvscmd add " . basename($permsfile));
|
||||
system("$cvscmd ci -m initial " . basename($permsfile));
|
||||
chdir $cwd;
|
||||
}
|
||||
|
||||
my $perms = &slurp($permsfile);
|
||||
|
||||
if ( $perms =~ /^(\d{4}):([^-:][^:]*):([^:]+?):$fullname$/o ) {
|
||||
if ( $perms =~ /^(\d{4}):([^-:][^:]*):([^:]+?):$fullname$/mo ) {
|
||||
if ( $1 eq $mode && $2 eq $user && $3 eq $group ) {
|
||||
return 1;
|
||||
} elsif ( $option{p} ){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue