Skip to content

Commit

Permalink
Remove some errors during build
Browse files Browse the repository at this point in the history
We should never see any of these files during build
but to be on the safe side, exclude them during copy
instead of trying to delete them, generating errors
  • Loading branch information
Paxxi committed Oct 14, 2021
1 parent e14b3b7 commit d233df9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/buildsteps/windows/BuildSetup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ set WORKSPACE=%base_dir%\kodi-build.%TARGET_PLATFORM%
Echo xbmc.old.log>>exclude.txt
Echo kodi.log>>exclude.txt
Echo kodi.old.log>>exclude.txt
Echo .so>>exclude.txt
Echo .h>>exclude.txt
Echo .cpp>>exclude.txt
Echo .exp>>exclude.txt
Echo .lib>>exclude.txt
rem Exclude userdata files
Echo userdata\advancedsettings.xml>>exclude.txt
Echo userdata\guisettings.xml>>exclude.txt
Expand Down Expand Up @@ -189,13 +194,8 @@ set WORKSPACE=%base_dir%\kodi-build.%TARGET_PLATFORM%
COLOR 1B
TITLE %APP_NAME% for Windows Build Script

IF EXIST exclude.txt del exclude.txt > NUL
IF EXIST exclude_dll.txt del exclude_dll.txt > NUL
del /s /q /f BUILD_WIN32\application\*.so > NUL
del /s /q /f BUILD_WIN32\application\*.h > NUL
del /s /q /f BUILD_WIN32\application\*.cpp > NUL
del /s /q /f BUILD_WIN32\application\*.exp > NUL
del /s /q /f BUILD_WIN32\application\*.lib > NUL
IF EXIST exclude.txt del exclude.txt > NUL
IF EXIST exclude_dll.txt del exclude_dll.txt > NUL
POPD

ECHO ------------------------------------------------------------
Expand Down

0 comments on commit d233df9

Please sign in to comment.