diff --git a/win-build-llvm.bat b/win-build-llvm.bat index d59db29..ef7b7c6 100644 --- a/win-build-llvm.bat +++ b/win-build-llvm.bat @@ -48,8 +48,8 @@ cmake %_CMAKE_CMD% IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin msbuild /p:Configuration=Release INSTALL.vcxproj IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin -CD /D "%~dp0" -RD /S /Q %_LLVM_SRC_DIR% +CD /D "%_LLVM_SRC_DIR%" +RD /S /Q build ECHO Build succeeded GOTO Fin diff --git a/win-build-openal.bat b/win-build-openal.bat index 4079779..b895162 100644 --- a/win-build-openal.bat +++ b/win-build-openal.bat @@ -59,8 +59,8 @@ cmake %_CMAKE_CMD% IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin msbuild /p:Configuration=Release INSTALL.vcxproj IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin -CD /D "%~dp0" -RD /S /Q %_OPENAL_SRC_DIR% +CD /D "%_OPENAL_SRC_DIR%" +RD /S /Q build ECHO Build succeeded GOTO Fin