From 74b6f73bc21fa438b48182adcb2e4d0b0eea8db2 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 25 Jan 2007 19:48:33 +0000 Subject: [PATCH] Add a setlocal command to the beginning of build.bat. This is required 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/msvc/build.bat b/src/tools/msvc/build.bat index 8ef282cef4..fe736dde47 100755 --- a/src/tools/msvc/build.bat +++ b/src/tools/msvc/build.bat @@ -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