aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/queryenvironment.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-05-21 14:41:15 +0900
committerMichael Paquier <michael@paquier.xyz>2020-05-21 14:41:15 +0900
commitd2a9959907a03682f4fe182086f9936aca6b2a4f (patch)
treee041e7e44f5ac5393f2a0a40513ff3cfdf5cd3a2 /src/backend/utils/misc/queryenvironment.c
parente1218f59ea4c0605e72298fa121d5aef4c66def2 (diff)
downloadpostgresql-d2a9959907a03682f4fe182086f9936aca6b2a4f.tar.gz
postgresql-d2a9959907a03682f4fe182086f9936aca6b2a4f.zip
Fix MSVC installations with multiple "configure" files detected
When installing binaries and libraries using the MSVC installation routines, the operation gets done after moving to the root folder, whose location is detected by checking if "configure" exists two times in a row. So, calling the installation script from src/tools/msvc/ with an extra "configure" file four levels up the root path of the code tree causes the execution to go further up, leading to a failure in finding the builds. This commit fixes the issue by moving to the root folder of the code tree only once, when necessary. Author: Arnold Müller Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/16343-f638f67e7e52b86c@postgresql.org Backpatch-through: 9.5
Diffstat (limited to 'src/backend/utils/misc/queryenvironment.c')
0 files changed, 0 insertions, 0 deletions