Changeset 289 for devel


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

Try to add support for #11 test versions

Location:
devel
Files:
2 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;
  • devel/pbconf/pb.pb

    r283 r289  
    6969pkgtag nil
    7070
     71# Is it a test version
     72testpkg project-builder
     73
    7174# Hash of default package/package directory
    7275defpkgdir project-builder = pb
Note: See TracChangeset for help on using the changeset viewer.