From 1ba9e038c38b4e8a5e35fa61fd861fd7a9f9716e Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Wed, 25 Aug 1999 05:01:00 +0000 Subject: [PATCH] Use correct logic for removal --- webtools/tinderbox/clean.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/tinderbox/clean.pl b/webtools/tinderbox/clean.pl index f9aa9c8d75a..69936f35d95 100755 --- a/webtools/tinderbox/clean.pl +++ b/webtools/tinderbox/clean.pl @@ -33,7 +33,7 @@ chdir $tinderboxdir or die "Couldn't chdir to $tinderboxdir"; # Remove files older than 7 days # 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);