From: Sergey Matveev Date: Mon, 7 Apr 2025 11:38:31 +0000 (+0300) Subject: Full path to iwyu maps X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=11aa7b0653fb97b2b68f407984bc6e5b0fa03b18e859ecf1dc2092425372de7e;p=keks.git Full path to iwyu maps --- diff --git a/c/lint/iwyu b/c/lint/iwyu index 0b249dd..a61a4b3 100755 --- a/c/lint/iwyu +++ b/c/lint/iwyu @@ -5,5 +5,6 @@ redo-ifchange $root/../compile_flags.txt cflags=$(cat $root/../compile_flags.txt) [ $# -eq 0 ] && srcs=*.c || srcs="$@" for c in $srcs ; do - include-what-you-use $cflags -Xiwyu --mapping_file=$root/iwyu-maps.imp $c 2>&1 + include-what-you-use $cflags -Xiwyu \ + --mapping_file=$(realpath $root/iwyu-maps.imp) $c 2>&1 done