From: Alon Bar-Lev Date: Sat, 28 Apr 2012 18:51:58 +0000 (+0300) Subject: build: msvc: chdir with change drive to script location X-Git-Tag: v2.3_alpha2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d2b65ad322e587efaf43c1b8cf6da8c36cf1ae1;p=thirdparty%2Fopenvpn.git build: msvc: chdir with change drive to script location Signed-off-by: Alon Bar-Lev Acked-by: Samuli Seppänen Message-Id: 1335639118-16671-1-git-send-email-alon.barlev@gmail.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6383 Signed-off-by: David Sommerseth --- diff --git a/msvc-build.bat b/msvc-build.bat index 01417d1b3..fd6d55882 100644 --- a/msvc-build.bat +++ b/msvc-build.bat @@ -4,6 +4,7 @@ rem Copyright (C) 2008-2012 Alon Bar-Lev @rem this stupid command needed for SetEnv.cmd to operate setlocal ENABLEDELAYEDEXPANSION +cd /d %0\.. call msvc-env.bat set PLATFORMS=Win32 diff --git a/msvc-dev.bat b/msvc-dev.bat index 4dac17206..dbd7be07d 100644 --- a/msvc-dev.bat +++ b/msvc-dev.bat @@ -1,7 +1,7 @@ @echo off setlocal -cd %0\.. +cd /d %0\.. call msvc-env.bat if exist "%VSHOME%\Common7\IDE\VCExpress.exe" ( diff --git a/msvc-env.bat b/msvc-env.bat index 3c9eb5bf7..2dd0f00d6 100644 --- a/msvc-env.bat +++ b/msvc-env.bat @@ -1,7 +1,5 @@ @echo off -cd %0\.. - rem Put your own settings at msvc-env-local.bat if exist msvc-env-local.bat call msvc-env-local.bat