From: Rafael Garcia-Suarez Date: Fri, 20 Jun 2008 15:55:48 +0000 (+0000) Subject: Make the version string more consistent between Windows and other platforms. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=79a3ac157a0fcf79cdd9388c59025a2ad55d224a;p=p5sagit%2Fp5-mst-13.2.git Make the version string more consistent between Windows and other platforms. Noticed and reported by Dave Golden. p4raw-id: //depot/perl@34075 --- diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 99d6a22..194d449 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -78,7 +78,7 @@ if (-e $patch_file) { $opt{VERSION} = "$opt{PERL_REVISION}.$opt{PERL_VERSION}.$opt{PERL_SUBVERSION}"; $opt{INST_VER} =~ s|~VERSION~|$opt{VERSION}|g; $opt{'version_patchlevel_string'} = "version $opt{PERL_VERSION} subversion $opt{PERL_SUBVERSION}"; -$opt{'version_patchlevel_string'} .= " patchlevel $opt{PERL_PATCHLEVEL}" if exists $opt{PERL_PATCHLEVEL}; +$opt{'version_patchlevel_string'} .= " patch $opt{PERL_PATCHLEVEL}" if exists $opt{PERL_PATCHLEVEL}; my $ver = `ver 2>nul`; if ($ver =~ /Version (\d+\.\d+)/) {