[Pkg-mozext-commits] [adblock-plus] 10/464: Adding script to create a build for Babelzilla

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 ac12f42d34b5b158814f90a828d605547fd4fc93
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Dec 22 23:34:35 2008 +0100

    Adding script to create a build for Babelzilla
---
 Packager.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Packager.pm b/Packager.pm
index 79df7fc..f0ab18c 100644
--- a/Packager.pm
+++ b/Packager.pm
@@ -29,10 +29,10 @@ sub readVersion
 
 sub readLocales
 {
-  my ($self, $localesDir) = @_;
+  my ($self, $localesDir, $includeIncomplete) = @_;
 
   opendir(local *DIR, $localesDir) or die "Could not open locales directory $localesDir";
-  my @locales = grep {!/[^\w\-]/ && !-e("$localesDir/$_/.incomplete")} readdir(DIR);
+  my @locales = grep {!/[^\w\-]/ && ($includeIncomplete || !-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