]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
build: msvc: chdir with change drive to script location
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sat, 28 Apr 2012 18:51:58 +0000 (21:51 +0300)
committerDavid Sommerseth <davids@redhat.com>
Fri, 29 Jun 2012 08:26:15 +0000 (10:26 +0200)
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>
msvc-build.bat
msvc-dev.bat
msvc-env.bat

index 01417d1b3403cf5d5bb4690928edcab8a6ce6448..fd6d55882dee7afe6bf606bda30ef156302e7bf7 100644 (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
index 4dac17206eabc3abbd4e24a59fb59ebd9162df5b..dbd7be07de96f07ca28fafd10b7a0ae5f1159b38 100644 (file)
@@ -1,7 +1,7 @@
 @echo off
 
 setlocal
-cd %0\..
+cd /d %0\..
 call msvc-env.bat
 
 if exist "%VSHOME%\Common7\IDE\VCExpress.exe" (
index 3c9eb5bf7a817e43bbb2dd4438d8b2f6ecaa7619..2dd0f00d6ee40e384c8f2d7474b2c56132a97a2e 100644 (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