minor fixes
This commit is contained in:
parent
25608cc2b6
commit
031ae130a8
1 changed files with 2 additions and 4 deletions
|
|
@ -182,8 +182,6 @@ sub inperms($) {
|
|||
my $mode = sprintf "%lo", $stats[2];
|
||||
$mode =~ s/.*(\d{4})$/$1/;
|
||||
|
||||
print "$mode:$user:$group:$fullname\n";
|
||||
|
||||
unless ( -f $permsfile ) {
|
||||
open FH, ">$permsfile";
|
||||
print FH <<EOT;
|
||||
|
|
@ -192,8 +190,8 @@ sub inperms($) {
|
|||
|
||||
EOT
|
||||
close FH;
|
||||
system("$cvscmd add $permsfile");
|
||||
system("$cvscmd ci -m initial $permsfile");
|
||||
&cvsadd($permsfile);
|
||||
&checkin($permsfile);
|
||||
}
|
||||
|
||||
my $perms = &slurp($permsfile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue