diff -Naur /mnt/tmp/usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile.sh /usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile.sh --- /mnt/tmp/usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile.sh 2026-06-27 13:07:38.000000000 +0000 +++ /usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile.sh 2026-11-19 15:37:54.949219877 +0000 @@ -164,7 +164,7 @@ print "\n]" }' } > "${pkg_dir}/compile_commands.json" && - ptxd_make_world_compile_commands_cleanup + ptxd_make_world_compile_commands_cleanup "${pkg_dir}/compile_commands.json" fi } export -f ptxd_make_world_compile_finish diff -Naur /mnt/tmp/usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile_commands.sh /usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile_commands.sh --- /mnt/tmp/usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile_commands.sh 2026-06-27 13:07:38.000000000 +0000 +++ /usr/local/lib/ptxdist-2026.07.0/scripts/lib/ptxd_make_world_compile_commands.sh 2026-11-19 15:38:31.841776180 +0000 @@ -12,7 +12,7 @@ ptxd_make_world_compile_commands_cleanup() { sed -i \ -e 's/ *-fno-diagnostics-show-caret//g' \ - "${pkg_dir}/compile_commands.json" + "${1}" } export -f ptxd_make_world_compile_commands_cleanup @@ -44,7 +44,7 @@ -e "s#\(\"command\": \" *[^ ]*\(gcc\|clang\) \)#\1 ${PTXDIST_CROSS_CPPFLAGS} ${pkg_cflags} #" \ -e "s#\(\"command\": \" *[^ ]*++ \)#\1 ${PTXDIST_CROSS_CPPFLAGS} ${pkg_cxxflags} #" \ "${src_cmds}" > "${dst_cmds}" && - ptxd_make_world_compile_commands_cleanup + ptxd_make_world_compile_commands_cleanup "${src_cmds}" } export -f ptxd_make_world_compile_commands_filter