Changeset 539 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Sep 15, 2008, 2:54:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r537 r539 483 483 pb_log(0,"Management of $pbpkg $pbver-$pbtag (rev $pbrev)\n"); 484 484 die "Unable to get env var PBDESTDIR" if (not defined $ENV{'PBDESTDIR'}); 485 485 486 # Clean up dest if necessary. The export will recreate it 486 487 my $dest = "$ENV{'PBDESTDIR'}/$pbpkg-$pbver"; … … 536 537 } 537 538 538 # Setup %pb structure to allow filtering later on on files using that structure539 # Setup %pb structure to allow filtering later on, on files using that structure 539 540 $pb{'tag'} = $pbtag; 540 541 $pb{'rev'} = $pbrev; 541 $pb{'pkg'} = $pbpkg;542 542 $pb{'ver'} = $pbver; 543 543 $pb{'date'} = $pbdate; … … 558 558 pb_log(2,"DEBUG: distro tuple: ".Dumper($ddir, $dver, $dfam, $pb{'dtype'}, $pb{'suf'})."\n"); 559 559 pb_log(2,"DEBUG Filtering PBDATE => $pbdate, PBTAG => $pbtag, PBVER => $pbver\n"); 560 561 # We need to compute the real name of the package 562 my $pbpkgreal = pb_cms_get_real_pkg($pbpkg,$pb{'dtype'}); 563 $pb{'pkg'} = $pbpkgreal; 560 564 561 565 # Filter build files from the less precise up to the most with overloading … … 703 707 pb_log(2,"DEBUG pkgs: ".Dumper(%pkgs)."\n"); 704 708 open(PKG,"> $ENV{'PBDESTDIR'}/$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}.pb") || die "Unable to create $ENV{'PBDESTDIR'}/$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}.pb"; 705 foreach my $pbpkg ( @pkgs) {709 foreach my $pbpkg (keys %pkgs) { 706 710 print PKG "pbpkg $pbpkg = $pkgs{$pbpkg}\n"; 707 711 }
Note:
See TracChangeset
for help on using the changeset viewer.