From 6d2a74cf2f31daeec52f9e35254bce20a1d2d96a Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 12 Mar 2003 21:59:19 +0000 Subject: [PATCH] Fix product version syntax for "official" mingw builds. Bug #134113 r=asasaki --- config/version_win.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/version_win.pl b/config/version_win.pl index 0671573bc71..ae73b190711 100755 --- a/config/version_win.pl +++ b/config/version_win.pl @@ -228,8 +228,8 @@ if ($official eq "1") { $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"; } @@ -242,7 +242,8 @@ if ($official eq "1") { $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";