Ignore:
Timestamp:
Oct 22, 2007, 12:27:00 PM (12 years ago)
Author:
bruno
Message:

Fix a bug for filtering non-build files, where filters were done in a per distro/ver loop.
Now only done once, after pbinit call thus also handling files it could have generated.
Only all.pbf has to be taken in account on those files => implies to reconfigure older pb project
to create systematically an all.pbf if additional files have to be filtered.
Should solve mondorescue build issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Base.pm

    r235 r236  
    462462my ($mfile00, $mfile0, $mfile1, $mfile2, $mfile3);
    463463my $pbpkg = shift || die "No package specified";
    464 my $dtype = shift || die "No dtype specified";
    465 my $dfam = shift || die "No dfam specified";
    466 my $ddir = shift || die "No ddir specified";
    467 my $dver = shift || die "No dver specified";
     464my $dtype = shift || "";
     465my $dfam = shift || "";
     466my $ddir = shift || "";
     467my $dver = shift || "";
    468468my $ptr; # returned value pointer on the hash of filters
    469469my %ptr;
     
    520520}
    521521
    522 # Function which applies filter on files (only for pb)
     522# Function which applies filter on pb build files
    523523sub pb_filter_file_pb {
    524524
     
    579579my %filter=%$ptr;
    580580my $destfile=shift;
    581 my $pbsuf=shift;
    582581my $pbpkg=shift;
    583582my $pbver=shift;
Note: See TracChangeset for help on using the changeset viewer.