Make the version string more consistent between Windows and other platforms.
Rafael Garcia-Suarez [Fri, 20 Jun 2008 15:55:48 +0000 (15:55 +0000)]
Noticed and reported by Dave Golden.

p4raw-id: //depot/perl@34075

win32/config_sh.PL

index 99d6a22..194d449 100644 (file)
@@ -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+)/) {