From fae9d8f4dabdfd2e74fb1918957960d724f5482b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= Date: Mon, 7 Mar 2011 20:33:25 +0000 Subject: Don't try to remove anything from stats CVS version numbers remove_stale.pl: 1.19 -> 1.20 --- remove_stale.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'remove_stale.pl') diff --git a/remove_stale.pl b/remove_stale.pl index ce979f1e502..565719e98fa 100755 --- a/remove_stale.pl +++ b/remove_stale.pl @@ -117,13 +117,16 @@ sub find_stale_files print "Recursing into `$dir'\n"; - # the language subdir possibly doesn;t exist yet for newly + # the language subdir possibly doesn't exist yet for newly # started translations return 0 unless -d $dir; # Don't try to do anything in subdirectories of l10n. return 0 if $dir =~ m'l10n/[^/]+$'; + # Don't try to do anything in stats either. + return 0 if $dir =~ m'stats$'; + # create a list of *.html files and a hash of *.wml files in this translation #my (%wmlfiles,@htmlfiles); #find( sub { $wmlfiles{$File::Find::name}++ if -f and /\.wml$/ }, $dir ); -- cgit v1.2.3