[Pkg-mozext-commits] [adblock-plus] 07/464: Exclude incomplete locales from the build by default

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:43:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 14bae43c4baa6efbb856d5a7c8053bdcf74255a2
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Tue Nov 4 02:17:03 2008 +0100

    Exclude incomplete locales from the build by default
---
 Packager.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Packager.pm b/Packager.pm
index 43b753c..a120a83 100644
--- a/Packager.pm
+++ b/Packager.pm
@@ -28,7 +28,7 @@ sub readLocales
   my ($self, $localesDir) = @_;
 
   opendir(local *DIR, $localesDir) or die "Could not open locales directory $localesDir";
-  my @locales = grep {!/[^\w\-]/} readdir(DIR);
+  my @locales = grep {!/[^\w\-]/ && !-e("$localesDir/$_/.incomplete")} readdir(DIR);
   closedir(DIR);
   
   @locales = sort {$a eq "en-US" ? -1 : ($b eq "en-US" ? 1 : $a cmp $b)} @locales;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list