Changeset 87 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Changelog.pm


Ignore:
Timestamp:
Sep 3, 2007, 2:46:15 PM (17 years ago)
Author:
Bruno Cornec
Message:

confparam is gone. params are stored in .pbrc instead

File:
1 edited

Legend:

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

    r74 r87  
    6666    my $n2date = &UnixDate($date,"%a, %d %b %Y %H:%M:%S %z");
    6767    #print "**$ndate**\n";
    68     my $confparam = pb_conf_read("$ENV{'PBCONF'}/$ENV{'PBPROJ'}.pb", "confparam");
    69     my %confparam = %$confparam;
     68    my $packager = pb_conf_read("$ENV{'PBETC'}", "packager");
     69    my %packager = %$packager;
    7070    if (($dtype eq "rpm") || ($dtype eq "fc")) {
    7171        if ($ver !~ /-/) {
     
    7979            $ver2 = "$ver$dsuf";
    8080        }
    81         print $OUTPUT "* $ndate $confparam{'packager'} $ver2\n";
     81        print $OUTPUT "* $ndate $packager{$ENV{'PBPROJ'}} $ver2\n";
    8282        print $OUTPUT "- Updated to $ver\n";
    8383        }
     
    102102
    103103    if ($dtype eq "deb") {
    104         print $OUTPUT " -- $confparam{'packager'} $n2date\n\n";
     104        print $OUTPUT " -- $packager{$ENV{'PBPROJ'}} $n2date\n\n";
    105105        print $OUTPUT "\n";
    106106        }
Note: See TracChangeset for help on using the changeset viewer.