Commit 19b7fac8 authored by Andrew Dunstan's avatar Andrew Dunstan

Fix bat file quoting of %ENV.

parent 24e2d4b6
...@@ -15,7 +15,7 @@ exit /b 1 ...@@ -15,7 +15,7 @@ exit /b 1
SETLOCAL SETLOCAL
IF NOT EXIST buildenv.pl goto nobuildenv IF NOT EXIST buildenv.pl goto nobuildenv
perl -e "require 'buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat perl -e "require 'buildenv.pl'; while(($k,$v) = each %%ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
CALL bldenv.bat CALL bldenv.bat
del bldenv.bat del bldenv.bat
:nobuildenv :nobuildenv
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
REM src/tools/msvc/pgbison.bat REM src/tools/msvc/pgbison.bat
IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %%ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
CALL bldenv.bat CALL bldenv.bat
del bldenv.bat del bldenv.bat
:nobuildenv :nobuildenv
......
...@@ -5,7 +5,7 @@ REM silence flex bleatings about file path style ...@@ -5,7 +5,7 @@ REM silence flex bleatings about file path style
SET CYGWIN=nodosfilewarning SET CYGWIN=nodosfilewarning
IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv IF NOT EXIST src\tools\msvc\buildenv.pl goto nobuildenv
perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat perl -e "require 'src/tools/msvc/buildenv.pl'; while(($k,$v) = each %%ENV) { print qq[\@SET $k=$v\n]; }" > bldenv.bat
CALL bldenv.bat CALL bldenv.bat
del bldenv.bat del bldenv.bat
:nobuildenv :nobuildenv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment