diff options
author | Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> | 2018-08-05 04:55:47 +0000 |
---|---|---|
committer | Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> | 2018-08-05 04:55:47 +0000 |
commit | 5278e96acad6ba67548c2ccd1ec119c5ef5b0901 (patch) | |
tree | adad5427f5180460f2a433b517c7ff27fe5d2db1 | |
parent | 287b2010eac69a5e0e3d5db50b3488dc59cfdc4a (diff) |
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")
-rw-r--r-- | apps/compiler/includes/functions.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 +} |