summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2022-04-21 09:19:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-04-21 09:19:36 +0200
commitd7ab5159ee919e968e5729c264703f03a825e9b8 (patch)
treed5d3516d0bbae1fe4057c281a713b57eb295eb89
parentac0aac7fc7277933e83b5c9476ae34bb607932fd (diff)
downloadptxdist-d7ab5159ee919e968e5729c264703f03a825e9b8.tar.gz
ptxdist-d7ab5159ee919e968e5729c264703f03a825e9b8.tar.xz
ptxd_make_world_compile_commands: don't forget the optional argument
The optional first argument is the source file. It can be used when the file is in a different location. Don't forget to pass it on to ptxd_make_world_compile_commands_filter(). Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_make_world_compile_commands.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_compile_commands.sh b/scripts/lib/ptxd_make_world_compile_commands.sh
index a3aa2033b..44aed3477 100644
--- a/scripts/lib/ptxd_make_world_compile_commands.sh
+++ b/scripts/lib/ptxd_make_world_compile_commands.sh
@@ -34,6 +34,6 @@ export -f ptxd_make_world_compile_commands_filter
ptxd_make_world_compile_commands() {
ptxd_make_world_init &&
- ptxd_make_world_compile_commands_filter
+ ptxd_make_world_compile_commands_filter "${@}"
}
export -f ptxd_make_world_compile_commands