ignore exit code of 'make clean' as it won't find a Makefile if called as first action (which is the case for "compiler all")

This commit is contained in:
Stoabrogga
2018-08-05 04:55:47 +00:00
parent 287b2010ea
commit 5278e96aca

View File

@@ -6,8 +6,8 @@ function comp_clean() {
cd $BUILDPATH
make -f Makefile clean
make clean
make -f Makefile clean || true
make clean || true
find -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
cd $CWD
@@ -69,4 +69,4 @@ function comp_build() {
function comp_all() {
comp_clean
comp_build
}
}