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 62a83dcc4a..617b996cdb 100644 --- a/win32/config_h.PL +++ b/win32/config_h.PL @@ -12,8 +12,8 @@ while (@ARGV && $ARGV[0] =~ /^([\w_]+)=(.*)$/) shift(@ARGV); } my $patchlevel = $opt{INST_VER}; -$patchlevel = s|^[\\/]||; -$patchlevel = s|~VERSION~|$]|g; +$patchlevel =~ s|^[\\/]||; +$patchlevel =~ s|~VERSION~|$]|g; $patchlevel ||= $]; $patchlevel = qq["$patchlevel"]; |