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:
@ -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");
|
||||
|
Reference in New Issue
Block a user