Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix product version syntax for "official" mingw builds.
Bug #134113 r=asasaki
  • Loading branch information
cls%seawood.org committed Mar 12, 2003
1 parent 7816936 commit 4abbf44
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/version_win.pl
Expand Up @@ -228,8 +228,8 @@ sub getNextEntry
$fileflags = "0";

my @mstone = split(/\./,$milestone);
$productversion="$mstone[0],$mstone[1]";
$productversion=~s/\D*$//g;
$mstone[1] =~s/\D*$//g;
$productversion="$mstone[0],$mstone[1],0,0";

}

Expand All @@ -242,7 +242,8 @@ sub getNextEntry
$buildid_lo = substr($buildid, 5);

$mfversion = $mpversion = "$milestone: $buildid";
$fileversion = "$productversion,$buildid_hi,$buildid_lo";
my @pvarray = split(',', $productversion);
$fileversion = "$pvarray[0],$pvarray[1],$buildid_hi,$buildid_lo";
}

my $copyright = "License: MPL 1.1/GPL 2.0/LGPL 2.1";
Expand Down

0 comments on commit 4abbf44

Please sign in to comment.