From ffc50e134a7e67bc48bf512a4bb681d46cc1fe31 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Mon, 4 Jul 2011 10:44:07 -0400 Subject: [PATCH] Back-patch Fix bat file quoting of %ENV from commit 19b7fac8. --- src/tools/msvc/install.bat | 2 +- src/tools/msvc/pgbison.bat | 2 +- src/tools/msvc/pgflex.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/msvc/install.bat b/src/tools/msvc/install.bat index 8c5fb1dccb..1d2ab9c9b0 100644 --- a/src/tools/msvc/install.bat +++ b/src/tools/msvc/install.bat @@ -15,7 +15,7 @@ exit /b 1 SETLOCAL 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 del bldenv.bat :nobuildenv diff --git a/src/tools/msvc/pgbison.bat b/src/tools/msvc/pgbison.bat index e67b8fcf19..c5d355e5ab 100755 --- a/src/tools/msvc/pgbison.bat +++ b/src/tools/msvc/pgbison.bat @@ -2,7 +2,7 @@ REM src/tools/msvc/pgbison.bat 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 del bldenv.bat :nobuildenv diff --git a/src/tools/msvc/pgflex.bat b/src/tools/msvc/pgflex.bat index 75f4eb9dfe..e26724cc5f 100755 --- a/src/tools/msvc/pgflex.bat +++ b/src/tools/msvc/pgflex.bat @@ -5,7 +5,7 @@ REM silence flex bleatings about file path style SET CYGWIN=nodosfilewarning 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 del bldenv.bat :nobuildenv -- 2.40.0