Changeset 1167


Ignore:
Timestamp:
Jan 19, 2011, 12:44:48 AM (9 years ago)
Author:
Bruno Cornec
Message:

removedot only applies to the extension generated not to the rest of the distro ver (so filters have the right name, ...)

File:
1 edited

Legend:

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

    r1159 r1167  
    137137$dver = "nover" if ($dnover eq "true");
    138138
    139 # For some OS remove the . in version name
    140 $dver =~ s/\.//g if ($drmdot eq "true");
     139# For some OS remove the . in version name for extension
     140my $dver2 = $dver;
     141$dver2 =~ s/\.//g if ($drmdot eq "true");
    141142
    142143if ((not defined $dsuf) || ($dsuf eq "")) {
    143144    # By default suffix is a concatenation of .ddir and dver
    144     $dsuf = ".$ddir$dver"
     145    $dsuf = ".$ddir$dver2"
    145146} else {
    146147    # concat just the version to what has been found
    147     $dsuf = ".$dsuf$dver";
     148    $dsuf = ".$dsuf$dver2";
    148149}
    149150
Note: See TracChangeset for help on using the changeset viewer.