]> 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:33:42 +0000 (19:33 -0500)
commit77173d0cca4df1df1f423a467e2af4a4db9a0d10
treea4be50a39ee22ecbe764a7ccf0cbefa3a8fec1cb
parent99eb3bba649b5a48fa9b679b6d94334ca110e1db
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