pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow MSVC .bat wrappers to be called from anywhere
Date: Fri, 07 Jan 2022 21:16:11 +0000
Message-ID: <E1n5wap-00042A-Pj@gemulon.postgresql.org> (raw)

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_12_STABLE

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

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(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1n5wap-00042A-Pj@gemulon.postgresql.org>
Permalink:  ../E1n5wap-00042A-Pj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n5wap-00042A-Pj@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Allow MSVC .bat wrappers to be called from anywhere
  In-Reply-To: <E1n5wap-00042A-Pj@gemulon.postgresql.org>
  References: <E1n5wap-00042A-Pj@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox