Ignore:
Timestamp:
Feb 16, 2010, 8:03:47 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug for suffix computation, following the change of interface for pb_distro_get_param
  • pbdistrocheck now has a man page. Build files adapted accordingly
File:
1 edited

Legend:

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

    r964 r969  
    114114my ($osfamily,$ostype,$osupd,$ossuffix,$osnover,$osremovedotinver) = pb_conf_get("osfamily","ostype","osupd","ossuffix","osnover","osremovedotinver");
    115115
     116# Dig into the tuple to find the best answer
    116117$dfam = pb_distro_get_param($ddir,$dver,$darch,$osfamily);
    117118$dtype = $ostype->{$dfam} if (defined $ostype->{$dfam});
     
    127128$dver =~ s/\.// if ($drmdot eq "true");
    128129
    129 if ((not defined $dsuf) || ($dsuf eq "unknown")) {
     130if ((not defined $dsuf) || ($dsuf eq "")) {
    130131    # By default suffix is a concatenation of .ddir and dver
    131132    $dsuf = ".$ddir$dver"
Note: See TracChangeset for help on using the changeset viewer.