pgsql: Fix MSVC installations with multiple "configure" files detected

2020-05-20 Thread Michael Paquier
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-f638f67e7e52b...@postgresql.org
Backpatch-through: 9.5

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/8dfc7d8886abca560367931930c656059a834241

Modified Files
--
src/tools/msvc/Install.pm | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)



pgsql: Fix MSVC installations with multiple "configure" files detected

2020-05-20 Thread Michael Paquier
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-f638f67e7e52b...@postgresql.org
Backpatch-through: 9.5

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/57dc672c27bda0538895777d2e99ebc4ea9b23df

Modified Files
--
src/tools/msvc/Install.pm | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)



pgsql: Fix MSVC installations with multiple "configure" files detected

2020-05-20 Thread Michael Paquier
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-f638f67e7e52b...@postgresql.org
Backpatch-through: 9.5

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/8de137017a158185b0dd022231aeb5ac2daede6b

Modified Files
--
src/tools/msvc/Install.pm | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)



pgsql: Fix MSVC installations with multiple "configure" files detected

2020-05-20 Thread Michael Paquier
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-f638f67e7e52b...@postgresql.org
Backpatch-through: 9.5

Branch
--
REL_11_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/bb24af50d515651b950e153fdd25ddb46184a57b

Modified Files
--
src/tools/msvc/Install.pm | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)



pgsql: Fix MSVC installations with multiple "configure" files detected

2020-05-20 Thread Michael Paquier
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-f638f67e7e52b...@postgresql.org
Backpatch-through: 9.5

Branch
--
REL_12_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/089baec6fd2097984af92baa9e5aaf0cdd1238e6

Modified Files
--
src/tools/msvc/Install.pm | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)



pgsql: Fix MSVC installations with multiple "configure" files detected

2020-05-20 Thread Michael Paquier
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-f638f67e7e52b...@postgresql.org
Backpatch-through: 9.5

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/d2a9959907a03682f4fe182086f9936aca6b2a4f

Modified Files
--
src/tools/msvc/Install.pm | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)