all.sh: Cleanup CMakeFiles

all.sh's cleanup function would not entirely remove CMakeFiles due to a
missing -o in its fine command. Add a -o after prune, so that the find for
CMakeFiles can succeed.
This commit is contained in:
Jaeden Amero 2018-11-07 18:46:41 +00:00
parent 556d7d9e3b
commit 2d0e00fca8

View file

@ -156,7 +156,7 @@ cleanup()
command make clean
# Remove CMake artefacts
find . -name .git -prune \
find . -name .git -prune -o \
-iname CMakeFiles -exec rm -rf {} \+ -o \
\( -iname cmake_install.cmake -o \
-iname CTestTestfile.cmake -o \