1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-21 10:42:50 +03:00

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.
This commit is contained in:
Andrew Dunstan
2019-02-05 18:57:12 -05:00
parent a25b049335
commit 59927f99a1
7 changed files with 13 additions and 13 deletions

View File

@@ -58,8 +58,8 @@ sub Install
# suppress warning about harmless redeclaration of $config
no warnings 'misc';
do "config_default.pl";
do "config.pl" if (-f "config.pl");
do "./config_default.pl";
do "./config.pl" if (-f "config.pl");
}
chdir("../../..") if (-f "../../../configure");