Skip to content

Commit 19b7fac

Browse files
committed
Fix bat file quoting of %ENV.
1 parent 24e2d4b commit 19b7fac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/tools/msvc/install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exit /b 1
1515
SETLOCAL
1616

1717
IF NOT EXIST buildenv.pl goto nobuildenv
18-
perl -e "require 'buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
18+
perl -e "require 'buildenv.pl'; while(($k,$v) = each %%ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
1919
CALL bldenv.bat
2020
del bldenv.bat
2121
:nobuildenv

src/tools/msvc/pgbison.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
REM src/tools/msvc/pgbison.bat
33

44
IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv
5-
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
5+
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %%ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
66
CALL bldenv.bat
77
del bldenv.bat
88
:nobuildenv

src/tools/msvc/pgflex.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ REM silence flex bleatings about file path style
55
SET CYGWIN=nodosfilewarning
66

77
IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv
8-
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
8+
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %%ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
99
CALL bldenv.bat
1010
del bldenv.bat
1111
:nobuildenv

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy