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. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8cb5e67d1067579436cc6434235121b4f6f8f35b Modified Files -------------- src/tools/msvc/install.pl | 4 ++++ src/tools/msvc/mkvcbuild.pl | 4 ++++ src/tools/msvc/vcregress.pl | 2 ++ 3 files changed, 10 insertions(+)
