build: msvc: chdir with change drive to script location

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: Samuli Seppänen <samuli@openvpn.net>
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 <davids@redhat.com>
This commit is contained in:
Alon Bar-Lev 2012-04-28 21:51:58 +03:00 committed by David Sommerseth
parent 74370aa89d
commit 6d2b65ad32
3 changed files with 2 additions and 3 deletions

View File

@ -4,6 +4,7 @@ rem Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com>
@rem this stupid command needed for SetEnv.cmd to operate
setlocal ENABLEDELAYEDEXPANSION
cd /d %0\..
call msvc-env.bat
set PLATFORMS=Win32

View File

@ -1,7 +1,7 @@
@echo off
setlocal
cd %0\..
cd /d %0\..
call msvc-env.bat
if exist "%VSHOME%\Common7\IDE\VCExpress.exe" (

View File

@ -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