Fix make clean and success message

This commit is contained in:
Jeff Xiao 2020-01-10 16:46:07 +09:00 committed by bernat
parent 7a06645fe4
commit 781ca97676
1 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ if not "%1"=="" (
goto :arg-parse
)
set PYTHON_LIB_PATH=%ROOT_PATH%PythonAPI\carla
set PYTHON_LIB_PATH=%ROOT_PATH:/=\%PythonAPI\carla\
if %REMOVE_INTERMEDIATE% == false (
if %BUILD_FOR_PYTHON3% == false (
@ -73,9 +73,9 @@ if %REMOVE_INTERMEDIATE% == false (
if %REMOVE_INTERMEDIATE% == true (
rem Remove directories
for %%G in (
"%PYTHON_LIB_PATH:/=\%build",
"%PYTHON_LIB_PATH:/=\%dist",
"%PYTHON_LIB_PATH:/=\%source\carla.egg-info"
"%PYTHON_LIB_PATH%build",
"%PYTHON_LIB_PATH%dist",
"%PYTHON_LIB_PATH%source\carla.egg-info"
) do (
if exist %%G (
echo %FILE_N% Cleaning %%G
@ -153,4 +153,4 @@ rem ============================================================================
:bad_exit
endlocal
exit /b %errorlevel%
exit /b %errorlevel%