Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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

+1-1
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

+1-1
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)