Changeset 1159


Ignore:
Timestamp:
Jan 15, 2011, 1:42:43 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug in gentoo generation
  • redhat extension set by default to rh
Location:
devel/pb-modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/pb.conf

    r1157 r1159  
    235235ossuffix slackware = slack
    236236ossuffix asianux = asx
     237ossuffix redhat = rh
    237238ossuffix fedora = fc
    238239ossuffix vmware = vmw
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r1156 r1159  
    114114# If we don't know which distribution we're on, then guess it
    115115($ddir,$dver) = pb_distro_get() if ((not defined $ddir) || (not defined $dver));
     116
     117# For some rare cases, typically nover ones
     118$ddir = "unknown" if (not defined $ddir);
     119$dver = "unknown" if (not defined $dver);
    116120
    117121# Initialize arch
Note: See TracChangeset for help on using the changeset viewer.