Changeset 56


Ignore:
Timestamp:
Aug 30, 2007, 3:19:04 PM (13 years ago)
Author:
Bruno Cornec
Message:

filteredfiles have to be handled by package

Location:
devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r55 r56  
    225225                    filter_file($f,$ptr,"$dest/pbconf/$ddir-$dver/".basename($f),$pbpkg,$dtype,$dsuf);
    226226                }
    227                 foreach my $f (keys %filteredfiles) {
    228                     # Skip file not belonging to that pkg
    229                     next if ($f !~ /^$dir\//);
    230                     my $target = $f;
    231                     $target =~ s|^$dir/||;
    232                     filter_file($f,$ptr,"$dest/".$target,$pbpkg,$dtype,$dsuf);
     227                foreach my $f (split(/,/,$filteredfiles{$dir})) {
     228                    filter_file($dir.$f,$ptr,"$dest/".$f,$pbpkg,$dtype,$dsuf);
    233229                }
    234230            }
  • devel/pbconf/pb.pb

    r53 r56  
    2525version stable
    2626
    27 # List of files on which to apply filters
    28 # Files are mentioned relatively to pbroot
    29 filteredfiles "pb/Makefile.PL"
    30 filteredfiles "pb/lib/ProjectBuilder/Version.pm"
     27# List of files per pkg on which to apply filters
     28# Files are mentioned relatively to pbroot/defpkgdir
     29filteredfiles pb = "Makefile.PL","lib/ProjectBuilder/Version.pm"
Note: See TracChangeset for help on using the changeset viewer.