diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-01-02 10:13:12 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-01-02 10:13:12 +0100 |
commit | c7296ea60fb6dfa2a9995298684d677a32defb27 (patch) | |
tree | 6d2dfaecb979f2f31bb807dc5a5f6cd950cc661f | |
parent | d7533593795b7c607b380296e0c5e97cf59d0ff9 (diff) |
"make clean" before "make" to try to avoid some segfaults
-rwxr-xr-x | cppcheck/cppcheck-report.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cppcheck/cppcheck-report.sh b/cppcheck/cppcheck-report.sh index fa03d8f..31f8360 100755 --- a/cppcheck/cppcheck-report.sh +++ b/cppcheck/cppcheck-report.sh @@ -75,6 +75,8 @@ get_lo_src() build_cppcheck() { pushd "${CPPCHECK_DIR?}" > /dev/null || die "Failed to change directory to ${CPPCHECK_DIR?}" + # cppcheck is quite small so it can be built from scratch to avoid some pb + make clean make all || die "Failed to build cppcheck." popd > /dev/null || die "Failed to change directory out of ${CPPCHECK_DIR?}" } |