summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-04-28 21:51:58 +0300
committerDavid Sommerseth <davids@redhat.com>2012-06-29 10:26:15 +0200
commit6d2b65ad322e587efaf43c1b8cf6da8c36cf1ae1 (patch)
tree2f23edcfbda2cc17dc4f7386797e39301237fe35
parent74370aa89df9285a95084616e9c2d3c8464760b9 (diff)
downloadopenvpn-6d2b65ad322e587efaf43c1b8cf6da8c36cf1ae1.tar.gz
openvpn-6d2b65ad322e587efaf43c1b8cf6da8c36cf1ae1.tar.xz
openvpn-6d2b65ad322e587efaf43c1b8cf6da8c36cf1ae1.zip
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>
-rw-r--r--msvc-build.bat1
-rw-r--r--msvc-dev.bat2
-rw-r--r--msvc-env.bat2
3 files changed, 2 insertions, 3 deletions
diff --git a/msvc-build.bat b/msvc-build.bat
index 01417d1..fd6d558 100644
--- a/msvc-build.bat
+++ b/msvc-build.bat
@@ -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
diff --git a/msvc-dev.bat b/msvc-dev.bat
index 4dac172..dbd7be0 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 3c9eb5b..2dd0f00 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