mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
22 lines
411 B
Batchfile
22 lines
411 B
Batchfile
|
@echo off
|
||
|
|
||
|
setlocal
|
||
|
|
||
|
:: Initialize environment
|
||
|
call "%~dp0..\env.bat"
|
||
|
if errorlevel 1 goto error_env
|
||
|
call "%EnvPath%\env.bat"
|
||
|
if errorlevel 1 goto error_env
|
||
|
call "%~dp0env.bat"
|
||
|
if errorlevel 1 goto error_env
|
||
|
|
||
|
if not exist "%RsBuildPath%" exit /B 0
|
||
|
call "%ToolsPath%\remove-dir.bat" "%RsBuildPath%"
|
||
|
|
||
|
exit /B %ERRORLEVEL%
|
||
|
|
||
|
:error_env
|
||
|
echo Failed to initialize environment.
|
||
|
endlocal
|
||
|
exit /B 1
|