summaryrefslogtreecommitdiffstats
path: root/l10n
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-08-26 09:21:55 +0200
committerJakob Sack <kde@jakobsack.de>2011-08-26 09:21:55 +0200
commit5301248ea258d140926a33cc141b01c5ae3cafba (patch)
treeeccf764c5cfaa122de3f6d711275d2967a4af447 /l10n
parentf5c2c13566cbed3b3c0432e65b21da3bde824661 (diff)
downloadnextcloud-server-5301248ea258d140926a33cc141b01c5ae3cafba.tar.gz
nextcloud-server-5301248ea258d140926a33cc141b01c5ae3cafba.zip
Sorting files in l10n.pl to get the same order always
Diffstat (limited to 'l10n')
-rw-r--r--l10n/l10n.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl
index fb1b522c255..27b14c41bef 100644
--- a/l10n/l10n.pl
+++ b/l10n/l10n.pl
@@ -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 ));