Changeset 494 in ProjectBuilder
- Timestamp:
- Jun 29, 2008, 11:54:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r493 r494 564 564 my $ptr = pb_get_filters($pbpkg, $dtype, $dfam, $ddir, $dver); 565 565 566 # Prepare patches for this distro 567 my @patches; 568 569 foreach my $p (sort(<$ENV{'PBROOTDIR'}/$pbpkg/pbpatch/*>)) { 570 push @patches,$p if ($p =~ /\.all$/); 571 push @patches,$p if ($p =~ /\.$dtype$/); 572 push @patches,$p if ($p =~ /\.$dfam$/); 573 push @patches,$p if ($p =~ /\.$ddir$/); 574 push @patches,$p if ($p =~ /\.$ddir-$dver$/); 575 } 576 566 577 # Apply now all the filters on all the files concerned 567 578 # destination dir depends on the type of file … … 601 612 chmod 0755,"$ENV{'PBTMP'}/pbinit"; 602 613 pb_system("cd $dest ; $ENV{'PBTMP'}/pbinit","Executing init script from $ENV{'PBROOTDIR'}/$pbpkg/pbinit","verbose"); 614 } 615 616 # Filter potential patches 617 foreach my $p (sort(<$ENV{'PBROOTDIR'}/$pbpkg/pbpatch/*>)) { 618 pb_mkdir_p("$dest/pbconf/pbpatch"); 619 pb_filter_file("$ENV{'PBROOTDIR'}/$pbpkg/pbpatch/$p",$ptr,"$dest/pbconf/pbpatch/$p",$pbpkg,$pbver,$pbtag,$pbrev,$pbdate,$ENV{'PBPACKAGER'},$ENV{'PBPROJ'},$ENV{'PBREPO'}); 603 620 } 604 621
Note:
See TracChangeset
for help on using the changeset viewer.