fix PERMS file updateing
This commit is contained in:
parent
fd08e529ca
commit
4d56e4552d
1 changed files with 4 additions and 1 deletions
|
|
@ -222,7 +222,10 @@ EOT
|
||||||
open(FH, ">>$permsfile");
|
open(FH, ">>$permsfile");
|
||||||
print FH "$mode:$user:$group:$fullname\n";
|
print FH "$mode:$user:$group:$fullname\n";
|
||||||
close FH;
|
close FH;
|
||||||
system("$cvscmd ci -m \"adding $fullname\" $permsfile");
|
my $cwd = cwd;
|
||||||
|
chdir dirname($permsfile);
|
||||||
|
system("$cvscmd ci -m \"adding $fullname\" " . basename($permsfile));
|
||||||
|
chdir $cwd;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue