Browse Source

Ignore .git directory in places that ignore .svn.

tags/2.75
Joey Hess 12 years ago
parent
commit
e805ffe705
5 changed files with 5 additions and 4 deletions
  1. +1
    -0
      debian/changelog
  2. +1
    -1
      doincludes.pl
  3. +1
    -1
      listpackages.pl
  4. +1
    -1
      makedesc.pl
  5. +1
    -1
      makeoverride.pl

+ 1
- 0
debian/changelog View File

@@ -9,6 +9,7 @@ tasksel (2.75) UNRELEASED; urgency=low
- DEBUG=0 has no effect when building anymore, removed that from rules
file.
* Drop empty /usr/lib/tasksel/packages from tasksel-data.
* Ignore .git directory in places that ignore .svn.

-- Joey Hess <joeyh@debian.org> Wed, 14 May 2008 17:10:27 -0400



+ 1
- 1
doincludes.pl View File

@@ -30,7 +30,7 @@ find(\&processfile, $dir);
sub processfile {
my $file=$_; # File::Find craziness.
$file eq 'po' && -d $file && ($File::Find::prune = 1);
return if $File::Find::dir=~/\.svn/;
return if $File::Find::dir=~/\.(svn|git)/;
return unless $file =~ /^[-+_.a-z0-9]+$/ and -f $file;
my @lines;
open (IN, $file) or die "$file: $!";


+ 1
- 1
listpackages.pl View File

@@ -24,7 +24,7 @@ find(\&processfile, $dir);
sub processfile {
my $file=$_; # File::Find craziness.
$file eq 'po' && -d $file && ($File::Find::prune = 1);
return if $File::Find::dir=~/\.svn/;
return if $File::Find::dir=~/\.(svn|git)/;
return unless $file =~ /^[-+_.a-z0-9]+$/ and -f $file;
open (IN, $file) or die "$file: $!";
my %fields;


+ 1
- 1
makedesc.pl View File

@@ -51,7 +51,7 @@ find({ wanted => \&processfile, preprocess => sub { return sort @_}}, $dir);
sub processfile {
my $file=$_; # File::Find craziness.
$file eq 'po' && -d $file && ($File::Find::prune = 1);
return if $File::Find::dir=~/\.svn/;
return if $File::Find::dir=~/\.(svn|git)/;
return unless $file =~ /^[-+_.a-z0-9]+$/ and -f $file;
open (IN, $file) or die "$file: $!";
my %fields;


+ 1
- 1
makeoverride.pl View File

@@ -16,7 +16,7 @@ print "$_\tTask\t", (join ", ", sort keys %{$p{$_}}), "\n"
sub processfile {
my $file=$_; # File::Find craziness.
$file eq 'po' && -d $file && ($File::Find::prune = 1);
return if $File::Find::dir=~/\.svn/;
return if $File::Find::dir=~/\.(svn|git)/;
return unless $file =~ /^[-+_.a-z0-9]+$/ and -f $file;
open (IN, $file) or die "$file: $!";
my %fields;


Loading…
Cancel
Save