mirror of https://github.com/postgres/postgres
Fix bat file quoting of %ENV.
This commit is contained in:
parent
24e2d4b6ba
commit
19b7fac86d
|
@ -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 @@
|
||||||
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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue