[Pkg-mozext-commits] [adblock-plus] 06/464: Excluding CVS metadata no longer necessary

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:43:56 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 8f7d2fc5b2c5d7ed86428f271258ba88cae34a27
Author: trev <none at none>
Date:   Wed Oct 22 20:08:37 2008 +0200

    Excluding CVS metadata no longer necessary
---
 Packager.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Packager.pm b/Packager.pm
index f52ca1d..43b753c 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\-]/ && !/CVS/} readdir(DIR);
+  my @locales = grep {!/[^\w\-]/} readdir(DIR);
   closedir(DIR);
   
   @locales = sort {$a eq "en-US" ? -1 : ($b eq "en-US" ? 1 : $a cmp $b)} @locales;
@@ -142,7 +142,7 @@ sub cp_rec
   mkdir($toDir);
   foreach my $file (@files)
   {
-    if ($file =~ /[^.]/ && $file ne 'CVS')
+    if ($file =~ /[^.]/)
     {
       if (-d "$fromDir/$file")
       {

-- 
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