Changeset 336


Ignore:
Timestamp:
Mar 22, 2008, 12:14:58 PM (12 years ago)
Author:
bruno
Message:

Fix a bug on testver usage (now take in account the content of the value)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 0.8.13/pb/bin/pb

    r301 r336  
    11#!/usr/bin/perl -w
     2
     3eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
     4    if 0; # not running under some shell
    25#
    36# Project Builder main application
     
    591594    } elsif ($cmt eq "Packages") {
    592595        $tdir = "$sshdir->{$ENV{'PBPROJ'}}/$ddir/$dver";
    593         if (defined $testver->{$ENV{'PBPROJ'}}) {
     596        if ((defined $testver->{$ENV{'PBPROJ'}}) && ($testver->{$ENV{'PBPROJ'}} =~ /true/i)) {
    594597            # This is a test pkg => target dir is under test
    595598            $tdir .= "/test";
Note: See TracChangeset for help on using the changeset viewer.