]> granicus.if.org Git - postgresql/commit
Fix included file path for modern perl
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 5 Feb 2019 23:57:12 +0000 (18:57 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 6 Feb 2019 00:27:47 +0000 (19:27 -0500)
commitf83419b7396fe5c64613838fd9eab8424591ad4a
treeb8d099084a6810fab04b33ac49f7b7e90b4edbb3
parent8916b33e52485f0acea98fdfc919c2313178f865
Fix included file path for modern perl

Contrary to the comment on 772d4b76, only paths starting with "./" or
"../" are considered relative to the current working directory by perl's
"do" function. So this patch converts all the relevant cases to use "./"
paths. This only affects MSVC.

Backpatch to all live branches.
src/tools/msvc/Install.pm
src/tools/msvc/build.pl
src/tools/msvc/install.pl
src/tools/msvc/mkvcbuild.pl
src/tools/msvc/pgbison.pl
src/tools/msvc/pgflex.pl
src/tools/msvc/vcregress.pl