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