From 014b35253d57547fdc435d134bb6ef9a9708838e Mon Sep 17 00:00:00 2001 From: "James A. Treacy" Date: Wed, 23 May 2001 19:47:00 +0000 Subject: now ignores sitemap files CVS version numbers remove_stale.pl: 1.3 -> 1.4 --- remove_stale.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'remove_stale.pl') diff --git a/remove_stale.pl b/remove_stale.pl index 60ebd76d9d5..48946ae5003 100755 --- a/remove_stale.pl +++ b/remove_stale.pl @@ -77,7 +77,9 @@ sub recurse my $direntry; foreach $direntry (@entries) { - if (-f $direntry && $direntry =~ /\.html$/) + # sitemap.??.html files should be ignored since they don't have a .wml + # file, except in the english dir + if (-f $direntry && $direntry =~ /\.html$/ && $direntry !~ /sitemap\...\.html$/) { my ($haswml, $incvs) = (0, 0); -- cgit v1.2.3