summaryrefslogtreecommitdiff
path: root/win32/config_sh.PL
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-05 07:41:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-05 07:41:50 +0000
commit10609e9a342de3bae37d4ac9f8d8bc93c0a4e896 (patch)
tree4d1e8b5efad07e9458644841485b645339a658a5 /win32/config_sh.PL
parent1703fc653cb30651ac3f8ba2ece6bb5cce4847f5 (diff)
downloadperl-10609e9a342de3bae37d4ac9f8d8bc93c0a4e896.tar.gz
sundry win32 config tweaks
p4raw-id: //depot/perl@1321
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r--win32/config_sh.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL
index 45c1ba4e27..59e64f9675 100644
--- a/win32/config_sh.PL
+++ b/win32/config_sh.PL
@@ -5,6 +5,8 @@ while (@ARGV && $ARGV[0] =~ /^([\w_]+)=(.*)$/)
shift(@ARGV);
}
+$opt{VERSION} = $];
+$opt{INST_VER} =~ s|~VERSION~|$]|g;
if ($] =~ /\.(\d\d\d)?(\d\d)?$/) { # should always be true
$opt{PATCHLEVEL} = int($1 || 0);
$opt{SUBVERSION} = $2 || '00';