1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +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 8916b33e52
commit f83419b739
7 changed files with 13 additions and 13 deletions

View File

@ -59,8 +59,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");