View | Details | Raw Unified | Return to bug 9161
Collapse All | Expand All

(-)a/misc/translator/tmpl_process3.pl (-2 / +1 lines)
Lines 148-154 sub listfiles { Link Here
148
            } elsif (-f $path) {
148
            } elsif (-f $path) {
149
                my $basename = basename $path;
149
                my $basename = basename $path;
150
                push @it, $path
150
                push @it, $path
151
                    if ( not @$filenames or ( grep { $basename =~ /$_/ } @$filenames ) )
151
                    if ( not @$filenames or ( grep { $path =~ /$_/ } @$filenames ) )
152
                       and (!defined $type || $dirent =~ /\.(?:$type)$/) || $action eq 'install';
152
                       and (!defined $type || $dirent =~ /\.(?:$type)$/) || $action eq 'install';
153
            } elsif (-d $path && $recursive_p) {
153
            } elsif (-d $path && $recursive_p) {
154
                push @it, listfiles($path, $type, $action, $filenames);
154
                push @it, listfiles($path, $type, $action, $filenames);
155
- 

Return to bug 9161