Fix perl searchpath for modern perl for MSVC tools

Andrew Dunstan <andrew@dunslane.net>

Commit: 698255147391a16493ba6cefd014b272b757b4b8
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2018-10-28T16:26:14Z
Releases: 9.4.20
Fix perl searchpath for modern perl for MSVC tools

Modern versions of perl no longer include the current directory in the
perl searchpath, as it's insecure. Instead of adding the current
directory, we get around the problem by adding the directory where the
script lives.

Problem noted by Victor Wagner.

Solution adapted from buildfarm client code.

Backpatch to all live versions.

Files

PathChange+/−
src/tools/msvc/install.pl modified +4 −0
src/tools/msvc/mkvcbuild.pl modified +4 −0
src/tools/msvc/vcregress.pl modified +2 −0