build.bat works from anywhere
This commit is contained in:
parent
5bfb737720
commit
832a7b4b80
|
@ -1,10 +1,11 @@
|
|||
@echo off
|
||||
|
||||
set location=%cd%
|
||||
set me="%~dp0"
|
||||
set me=%~dp0
|
||||
|
||||
REM 4cc\code\bin
|
||||
:: REM 4cc\code\bin
|
||||
cd %me%
|
||||
REM ..\code\bin
|
||||
|
||||
REM 4cc
|
||||
cd ..\..
|
||||
|
@ -34,6 +35,7 @@ if %ERRORLEVEL% neq 0 (set FirstError=1)
|
|||
if %ERRORLEVEL% neq 0 (goto END)
|
||||
popd
|
||||
|
||||
cd %me%\..
|
||||
%build_root%\build
|
||||
:END
|
||||
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
||||
|
|
Loading…
Reference in New Issue