Changeset 1592


Ignore:
Timestamp:
05/24/12 01:48:32 (12 months ago)
Author:
bruno
Message:
Fix another bug in pb_check_req on the default value used with a
where an undef wasn't different from a bad integer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Base.pm

    r1585 r1592  
    483483 
    484484my $file = shift; 
    485 my $opt = shift || 1; 
     485my $opt = shift; 
    486486my $found = undef; 
     487 
     488$opt = 1 if (not defined $opt); 
    487489 
    488490pb_log(2,"Checking availability of $file..."); 
Note: See TracChangeset for help on using the changeset viewer.