From 0c6e0460b6f15dce8dd5f517712093d843d76058 Mon Sep 17 00:00:00 2001 From: ZyX Date: Tue, 2 May 2017 18:33:41 +0300 Subject: pvscheck: When using --recheck rerun build [ci skip] --- scripts/pvscheck.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/pvscheck.sh') diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh index da55965d36..67834cca8a 100755 --- a/scripts/pvscheck.sh +++ b/scripts/pvscheck.sh @@ -262,7 +262,7 @@ create_compile_commands() {( export CFLAGS=' -O0 ' if test -z "$deps" ; then - mkdir "$tgt/build" + mkdir -p "$tgt/build" cd "$tgt/build" cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="$PWD/root" @@ -347,6 +347,8 @@ do_recheck() { adjust_path "$tgt" + create_compile_commands "$tgt" "$deps" + run_analysis "$tgt" } -- cgit