Changeset 1218 in ProjectBuilder


Ignore:
Timestamp:
Feb 24, 2011, 10:34:06 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix #86 (ndoualot) - error in hash test sources should be used and not patches.
  • Improve tmout management again using pb_distro_get_param
Location:
devel/pb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1217 r1218  
    15121512    my $conf = "sshconf";
    15131513    my $tmout = undef;
     1514    my $tm = undef;
    15141515    my $path = undef;
    15151516    if ($cmt =~ /^VM/) {
     
    16151616    }
    16161617    if ($cmt =~ /^(V|R)M/) {
    1617         ($vtmout) = pb_conf_get_if($tmout);
     1618        $vtmout = pb_distro_get_param($pbos,pb_conf_get_if($tmout));
    16181619    }
    16191620    my $remhost = $sshhost->{$ENV{'PBPROJ'}};
     
    18471848    my $tm = "";
    18481849    if ($cmt =~ /^(V|R)M/) {
    1849         $tm = "sleep $vtmout->{$v}" if (defined $vtmout);
     1850        $tm = "sleep $vtmout" if (defined $vtmout);
    18501851    }
    18511852
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r1206 r1218  
    203203            pb_log(3,"DEBUG($tuple) filtering PBMULTISRC\n");
    204204            my $i = 1;
    205             if (defined $pb->{'patches'}->{$tuple}) {
     205            if (defined $pb->{'sources'}->{$tuple}) {
    206206                foreach my $p (split(/,/,$pb->{'sources'}->{$tuple})) {
    207207                    pb_log(3,"DEBUG($tuple) Adding source $i ".basename($p)."\n");
Note: See TracChangeset for help on using the changeset viewer.