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
This commit is contained in:
Marco Trevisan (Treviño)
2026-02-21 04:26:44 +01:00
parent 7c5d1b454d
commit 58a40bb4a3
+5 -2
View File
@@ -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" \
"$@"