Add a setlocal command to the beginning of build.bat. This is required
authorNeil Conway <neilc@samurai.com>
Thu, 25 Jan 2007 19:48:33 +0000 (19:48 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 25 Jan 2007 19:48:33 +0000 (19:48 +0000)
to deal with buildenv.bat properly, so that PATH (for example) doesn't
expand infintly. Per report from Joachim Wieland, patch from Magnus.

src/tools/msvc/build.bat

index 8ef282cef4959ccf42ccfe22c8e23ae28eb3819a..fe736dde471f6d79b20778a53e0b217fc952cbc3 100755 (executable)
@@ -1,4 +1,5 @@
 @echo off
+SETLOCAL
 SET STARTDIR=%CD%
 if exist src\tools\msvc\buildenv.bat call src\tools\msvc\buildenv.bat
 if exist buildenv.bat call buildenv.bat