diff options
author | Frank Lichtenheld <djpig> | 2005-08-15 15:43:33 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig> | 2005-08-15 15:43:33 +0000 |
commit | 581a740a20488682e9b8130299c149a988048377 (patch) | |
tree | 7a03d3f5c975ab33c01699ef3bd8b120c3caa186 /remove_stale.pl | |
parent | d1c74e7cd183c4a1953f9ef2635684ffbfb3920e (diff) |
While we should ignore sub directories of l10n/, we shouldn't do so
with the directory itself
CVS version numbers
remove_stale.pl: 1.15 -> 1.16
Diffstat (limited to 'remove_stale.pl')
-rwxr-xr-x | remove_stale.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remove_stale.pl b/remove_stale.pl index 347efbc91f4..da466f998ac 100755 --- a/remove_stale.pl +++ b/remove_stale.pl @@ -47,8 +47,8 @@ sub recurse # Get parameter. my $directory = shift; - # Don't try to do anything in l10n. - return 0 if $directory =~ /l10n$/; + # Don't try to do anything in sub directories of l10n. + return 0 if $directory =~ m'l10n/[^/]+$'; # Load all entries for this directory. opendir THISDIR, $directory |