Allow MSVC .bat wrappers to be called from anywhere
Andrew Dunstan <andrew@dunslane.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/tools/msvc/build.bat | modified | +1 −1 |
| src/tools/msvc/install.bat | modified | +1 −1 |
| src/tools/msvc/pgbison.bat | modified | +1 −1 |
| src/tools/msvc/pgflex.bat | modified | +1 −1 |
| src/tools/msvc/vcregress.bat | modified | +1 −1 |
Discussion
- [PATCH] allow src/tools/msvc/*.bat files to be called from the root of the source tree 5 messages · 2021-12-29 → 2022-01-07