From 58a40bb4a38e8a67173fbadb2702265cc24a6a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Sat, 21 Feb 2026 04:26:44 +0100 Subject: [PATCH] ci/scan-build: Exclude the full path of the build dir The tool runs in the build dir as cwd, but let' make this clearer --- .gitlab-ci/scan-build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/scan-build b/.gitlab-ci/scan-build index da248497..72abee14 100755 --- a/.gitlab-ci/scan-build +++ b/.gitlab-ci/scan-build @@ -1,4 +1,7 @@ -#!/bin/sh +#!/bin/sh -x # This wrapper just disables the malloc checker -exec /usr/bin/scan-build --status-bugs -disable-checker unix.Malloc --exclude "_build/meson-private" "$@" +exec /usr/bin/scan-build --status-bugs -disable-checker unix.Malloc \ + --exclude "$PWD/_build/meson-private" \ + --exclude "$PWD/meson-private" \ + "$@"