Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3879a7

Browse files
committed
Allow MSVC .bat wrappers to be called from anywhere
Instead of using a hardcoded or default path to the perl file the .batfile is a wrapper for, we use a path that means the file is found inthe same directory as the .bat file.Patch by Anton Voloshin, slightly tweaked by me.Backpatch to all live branchesDiscussion:https://postgr.es/m/2b7a674b-5fb0-d264-75ef-ecc7a31e54f8@postgrespro.ru
1 parent825d95e commitc3879a7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

‎src/tools/msvc/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ REM src/tools/msvc/build.bat
33
REM all the logic for this now belongs in build.pl. This file really
44
REM only exists so you don't have to type "perl build.pl"
55
REM Resist any temptation to add any logic here.
6-
@perl build.pl%*
6+
@perl%~dp0/build.pl%*

‎src/tools/msvc/install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ REM src/tools/msvc/install.bat
33
REM all the logic for this now belongs in install.pl. This file really
44
REM only exists so you don't have to type "perl install.pl"
55
REM Resist any temptation to add any logic here.
6-
@perl install.pl%*
6+
@perl%~dp0/install.pl%*

‎src/tools/msvc/pgbison.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ REM src/tools/msvc/pgbison.bat
44
REM all the logic for this now belongs in pgbison.pl. This file really
55
REM only exists so you don't have to type "perl src/tools/msvc/pgbison.pl"
66
REM Resist any temptation to add any logic here.
7-
@perlsrc/tools/msvc/pgbison.pl%*
7+
@perl%~dp0/pgbison.pl%*

‎src/tools/msvc/pgflex.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ REM src/tools/msvc/pgflex.bat
44
REM all the logic for this now belongs in pgflex.pl. This file really
55
REM only exists so you don't have to type "perl src/tools/msvc/pgflex.pl"
66
REM Resist any temptation to add any logic here.
7-
@perlsrc/tools/msvc/pgflex.pl%*
7+
@perl%~dp0/pgflex.pl%*

‎src/tools/msvc/vcregress.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ REM src/tools/msvc/vcregress.bat
33
REM all the logic for this now belongs in vcregress.pl. This file really
44
REM only exists so you don't have to type "perl vcregress.pl"
55
REM Resist any temptation to add any logic here.
6-
@perl vcregress.pl%*
6+
@perl%~dp0/vcregress.pl%*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp