diff options
Diffstat (limited to 'win32/config_h.PL')
-rw-r--r-- | win32/config_h.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/config_h.PL b/win32/config_h.PL index 16e467e915..17f3fc2163 100644 --- a/win32/config_h.PL +++ b/win32/config_h.PL @@ -13,8 +13,8 @@ while (@ARGV && $ARGV[0] =~ /^([\w_]+)=(.*)$/) } my $patchlevel = $opt{INST_VER}; $patchlevel =~ s|^[\\/]||; -$patchlevel =~ s|~VERSION~|$]|g; -$patchlevel ||= $]; +$patchlevel =~ s|~VERSION~|$Config{version}|g; +$patchlevel ||= $Config{version}; $patchlevel = qq["$patchlevel"]; open(SH,"<$name") || die "Cannot open $name:$!"; |