From 5278e96acad6ba67548c2ccd1ec119c5ef5b0901 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Sun, 5 Aug 2018 04:55:47 +0000 Subject: 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") --- apps/compiler/includes/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/compiler/includes/functions.sh') diff --git a/apps/compiler/includes/functions.sh b/apps/compiler/includes/functions.sh index 92d2d7bdcd..e0f5560b14 100644 --- a/apps/compiler/includes/functions.sh +++ b/apps/compiler/includes/functions.sh @@ -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 -} \ No newline at end of file +} -- cgit v1.2.3