Changeset 2107 in ProjectBuilder


Ignore:
Timestamp:
Jul 21, 2016, 3:37:12 AM (5 years ago)
Author:
Bruno Cornec
Message:
  • Use a dedicated pbos var when dealing with deb Release file
Location:
devel/pb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r2106 r2107  
    27232723   
    27242724    # If target is deb family then sign Release file for Packages
    2725     if (($cmt =~ /Packages/) && ($pbos->{'type'} eq "deb")) {
    2726         my $debarch = pb_get_debarch($pbos);
    2727         my $projcomponent = pb_get_debpc($pbos);
    2728         for my $f ("dists/$pbos->{'version'}/$projcomponent/binary-$debarch/Release","dists/$pbos->{'version'}/$projcomponent/source/Release","dists/$pbos->{'version'}/Release") {
     2725    my $pbos2 = pb_distro_get_context($v);
     2726    if (($cmt =~ /Packages/) && ($pbos2->{'type'} eq "deb")) {
     2727        my $debarch = pb_get_debarch($pbos2);
     2728        my $projcomponent = pb_get_debpc($pbos2);
     2729        for my $f ("dists/$pbos2->{'version'}/$projcomponent/binary-$debarch/Release","dists/$pbos2->{'version'}/$projcomponent/source/Release","dists/$pbos2->{'version'}/Release") {
    27292730            pb_system("cd $ENV{'PBBUILDDIR'} ; $cpcmd $cptarget/$f . 2> /dev/null","Getting deb $f file from $cptarget");
    27302731            pb_sign_file("$ENV{'PBBUILDDIR'}/Release");
  • devel/pb/lib/ProjectBuilder/Changelog.pm

    r2032 r2107  
    111111    $ndate = &UnixDate($date,"%a", "%b", "%d", "%Y");
    112112    $n2date = &UnixDate($date,"%a, %d %b %Y %H:%M:%S %z");
    113     # usefule mostly for test versions
     113    # useful mostly for test versions
    114114    $pbver .= $pbextdir;
    115115    if ($dtype eq "rpm") {
     
    189189        print $OUTPUT "$pbrealpkg ($ver2) unstable; urgency=low\n";
    190190        print $OUTPUT "\n";
    191         }
     191    }
    192192
    193193    $tmp = <INPUT>;
Note: See TracChangeset for help on using the changeset viewer.