Changeset 1200 in ProjectBuilder


Ignore:
Timestamp:
Feb 17, 2011, 1:49:53 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • the repo key for pb now uses the delivery level (mandatory for gentoo)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1198 r1200  
    880880        $pb->{'packager'} = $ENV{'PBPACKAGER'};
    881881        $pb->{'proj'} = $ENV{'PBPROJ'};
    882         $pb->{'repo'} = $ENV{'PBREPO'};
     882        my $delivery = pb_conf_get_if("delivery");
     883        $delivery->{$ENV{'PBPROJ'}} = "" if (not defined $delivery->{$ENV{'PBPROJ'}});
     884        $pb->{'repo'} = "$ENV{'PBREPO'}/$delivery->{$ENV{'PBPROJ'}}";
    883885        $pb->{'patches'} = ();
    884886        $pb->{'sources'} = ();
Note: See TracChangeset for help on using the changeset viewer.