From 12a0f6ffde522ea85b85ea81ec0c9cc41fa78105 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 git-svn-id: svn://10.0.0.236/trunk@44451 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/tinderbox/clean.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/tinderbox/clean.pl b/mozilla/webtools/tinderbox/clean.pl index f9aa9c8d75a..69936f35d95 100755 --- a/mozilla/webtools/tinderbox/clean.pl +++ b/mozilla/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);