Changeset 289 in ProjectBuilder for devel/pb


Ignore:
Timestamp:
Dec 13, 2007, 1:03:32 AM (16 years ago)
Author:
Bruno Cornec
Message:

Try to add support for #11 test versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r288 r289  
    551551
    552552    print $LOG "Sources handled ($cmt): $src\n" if ($debug >= 0);
    553     my ($sshhost,$sshlogin,$sshdir,$sshport,$vmtmout) = pb_conf_get($host,$login,$dir,$port,$tmout);
     553    my ($sshhost,$sshlogin,$sshdir,$sshport,$vmtmout,$testpkg) = pb_conf_get($host,$login,$dir,$port,$tmout,"testpkg");
    554554    my $mac = "$sshlogin->{$ENV{'PBPROJ'}}\@$sshhost->{$ENV{'PBPROJ'}}";
    555555    # Overwrite account value if passed as parameter
     
    566566    } elsif ($cmt eq "Packages") {
    567567        $tdir = "$sshdir->{$ENV{'PBPROJ'}}/$ddir/$dver";
     568        if (defined $testpkg->{$pbpkg}) {
     569            # This is a test pkg => target dir is under test
     570            $tdir .= "/test";
    568571    } else {
    569572        return;
Note: See TracChangeset for help on using the changeset viewer.