This commit is contained in:
slamm%netscape.com 1999-08-25 05:01:00 +00:00
Родитель 9b21dec00e
Коммит 1ba9e038c3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -33,7 +33,7 @@ chdir $tinderboxdir or die "Couldn't chdir to $tinderboxdir";
# Remove files older than 7 days # Remove files older than 7 days
# #
sub files_to_remove { sub files_to_remove {
unlink if /(?:\.gz|\.brief\.html)$/ or int(-M $_) > 7; unlink if /(?:\.gz|\.brief\.html)$/ and int(-M $_) > 7;
} }
&find(\&files_to_remove, $tinderboxdir); &find(\&files_to_remove, $tinderboxdir);