Changeset 1500 in ProjectBuilder for devel/lib/ProjectBuilder/Distribution.pm


Ignore:
Timestamp:
May 8, 2012, 4:12:21 AM (12 years ago)
Author:
Bruno Cornec
Message:

project-builder-r1426

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/lib/ProjectBuilder/Distribution.pm

    r1498 r1500  
    560560
    561561This function gets the OS context passed as parameter and return the corresponding distribution hash
     562If passed undef or "" then auto-detects
    562563
    563564=cut
     
    569570my $pbos;
    570571
    571 if (defined $os) {
     572if ((defined $os) && ($os ne "")) {
    572573    my ($name,$ver,$darch) = split(/-/,$os);
    573574    pb_log(0,"Bad format for $os") if ((not defined $name) || (not defined $ver) || (not defined $darch)) ;
Note: See TracChangeset for help on using the changeset viewer.