Changeset 1203


Ignore:
Timestamp:
Feb 17, 2011, 2:20:42 AM (9 years ago)
Author:
bruno
Message:
  • Fix a typo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1200 r1203  
    760760    $ENV{'PBPACKAGER'} = $tmp1->{$ENV{'PBPROJ'}};
    761761    $ENV{'PBREPO'} = $tmp2->{$ENV{'PBPROJ'}};
     762    my ($delivery) = pb_conf_get_if("delivery");
     763    $delivery->{$ENV{'PBPROJ'}} = "" if (not defined $delivery->{$ENV{'PBPROJ'}});
    762764
    763765    foreach my $pbpkg (@pkgs) {
     
    880882        $pb->{'packager'} = $ENV{'PBPACKAGER'};
    881883        $pb->{'proj'} = $ENV{'PBPROJ'};
    882         my $delivery = pb_conf_get_if("delivery");
    883         $delivery->{$ENV{'PBPROJ'}} = "" if (not defined $delivery->{$ENV{'PBPROJ'}});
    884884        $pb->{'repo'} = "$ENV{'PBREPO'}/$delivery->{$ENV{'PBPROJ'}}";
    885885        $pb->{'patches'} = ();
Note: See TracChangeset for help on using the changeset viewer.