Changeset 328 in ProjectBuilder for devel/pb/bin/pb


Ignore:
Timestamp:
Feb 22, 2008, 12:00:13 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • pb_changelog back in Base.pm (removal of Changelog.pm)
  • cms2build begins to work for pb
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r327 r328  
    229229
    230230        # Get project info on authors and log file
    231         my $chglog = "$ENV{'PBCONF'}/$pbpkg/pbcl";
    232         $chglog = "$ENV{'PBCONF'}/pbcl" if (! -f $chglog);
     231        my $chglog = "$ENV{'PBROOT'}/$pbpkg/pbcl";
     232        $chglog = "$ENV{'PBROOT'}/pbcl" if (! -f $chglog);
    233233        $chglog = undef if (! -f $chglog);
    234234
    235         my $authors = "$ENV{'PBCONF'}/$pbpkg/pbauthors";
    236         $authors = "$ENV{'PBCONF'}/pbauthors" if (! -f $authors);
     235        my $authors = "$ENV{'PBROOT'}/$pbpkg/pbauthors";
     236        $authors = "$ENV{'PBROOT'}/pbauthors" if (! -f $authors);
    237237        $authors = "/dev/null" if (! -f $authors);
    238238
     
    242242            copy($chglog,"$dest/NEWS") || die "Unable to create $dest/NEWS";
    243243        }
    244         pb_cms_log($scheme,$dir,$dest,$chglog,$authors);
     244        pb_cms_log($scheme,"$ENV{'PBDIR'}/$pbprojver/$dir",$dest,$chglog,$authors);
    245245
    246246        my %build;
    247247
    248         my ($ptr) = pb_conf_get_if("vmlist","velist");
    249         foreach my $d (split(/,/,$ptr->{$ENV{'PBPROJ'}})) {
     248        my @pt;
     249        @pt = pb_conf_get_if("vmlist","velist");
     250        foreach my $d (split(/,/,$pt[0]->{$ENV{'PBPROJ'}}),split(/,/,$pt[1]->{$ENV{'PBPROJ'}})) {
    250251            my ($name,$ver,$arch) = split(/-/,$d);
    251252            chomp($arch);
     
    261262            my %bfiles = ();
    262263            my %pkgfiles = ();
    263             pb_log(2,"DEBUG dir: $ENV{'PBCONF'}/$pbpkg\n");
    264264            $build{"$ddir-$dver"} = "yes";
    265265
Note: See TracChangeset for help on using the changeset viewer.