Explorar el Código

Sorting files in l10n.pl to get the same order always

tags/v3.0
Jakob Sack hace 13 años
padre
commit
5301248ea2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      l10n/l10n.pl

+ 3
- 0
l10n/l10n.pl Ver fichero

@@ -12,6 +12,7 @@ sub crawlPrograms{
opendir( DIR, $dir );
my @files = readdir( DIR );
closedir( DIR );
@files = sort( @files );

foreach my $i ( @files ){
next if substr( $i, 0, 1 ) eq '.';
@@ -33,9 +34,11 @@ sub crawlFiles{
opendir( DIR, $dir );
my @files = readdir( DIR );
closedir( DIR );
@files = sort( @files );

foreach my $i ( @files ){
next if substr( $i, 0, 1 ) eq '.';
next if $i eq 'l10n';
if( -d $dir.'/'.$i ){
push( @found, crawlFiles( $dir.'/'.$i ));

Cargando…
Cancelar
Guardar