pgsql: Allow MSVC .bat wrappers to be called from anywhere - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Allow MSVC .bat wrappers to be called from anywhere
Date
Msg-id E1n5wap-000427-PD@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow MSVC .bat wrappers to be called from anywhere

Instead of using a hardcoded or default path to the perl file the .bat
file is a wrapper for, we use a path that means the file is found in
the same directory as the .bat file.

Patch by Anton Voloshin, slightly tweaked by me.

Backpatch to all live branches

Discussion: https://postgr.es/m/2b7a674b-5fb0-d264-75ef-ecc7a31e54f8@postgrespro.ru

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/tools/msvc/build.bat     | 2 +-
src/tools/msvc/install.bat   | 2 +-
src/tools/msvc/pgbison.bat   | 2 +-
src/tools/msvc/pgflex.bat    | 2 +-
src/tools/msvc/vcregress.bat | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Skip install/test of pgcrypto on MSVC when not built with openss
Next
From: Bruce Momjian
Date:
Subject: pgsql: Update copyright for 2022