use Getopt::Long;
use Cwd qw(chdir fastgetcwd);
use Errno qw(ENOENT);
+use File::Remove qw(remove);
use constant ENTRIES =>"CVS/Entries";
use constant CVSIGNORE=>".cvsignore";
{
my($filename)=@_;
- if (!unlink $filename) {
+ # '\1' for '-r':
+ if (!remove \1,$filename) {
mayfatal "File \"$_\" cannot be removed" if !$!{ENOENT};
}
}