1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

Now it can be run from any directory (w/o cd to it)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2552 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
osnwt 2011-01-23 19:42:31 +00:00 committed by osnwt
parent 90df657a37
commit 5b256e8b20

View File

@ -29,7 +29,9 @@ rem set PATH=D:\Work\OpenPilot\Apps\CodeSourcery\bin\;%PATH%
set MAKE=cs-make
rem Set some project path variables
for /F %%D in ('cd') do set CURDIR=%%D
rem for /F %%D in ('cd') do set CURDIR=%%D
for %%D in (%0) do set CURDIR=%%~dD%%~pD
set ROOT_DIR=%CURDIR%
set BUILD_DIR=%ROOT_DIR%\build
set UAVOBJ_XML_DIR=%ROOT_DIR%\shared\uavobjectdefinition