From 18b91458fd396530d43e1a2fe9a3ac9055fa9109 Mon Sep 17 00:00:00 2001 From: Hoang Bui <47828508+bongbui321@users.noreply.github.com> Date: Tue, 26 Dec 2023 16:57:31 -0500 Subject: [PATCH] CI: rednose compile to relpath (#38) --- site_scons/site_tools/rednose_filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_scons/site_tools/rednose_filter.py b/site_scons/site_tools/rednose_filter.py index b3fee62..1a26a3b 100644 --- a/site_scons/site_tools/rednose_filter.py +++ b/site_scons/site_tools/rednose_filter.py @@ -9,7 +9,7 @@ def compile_single_filter(env, target, filter_gen_script, output_dir, extra_gen_ generator_file = File(filter_gen_script) env.Command(generated_src_files + extra_generated_files, - [generator_file] + script_deps, f"{generator_file.get_abspath()} {target} {Dir(output_dir).get_abspath()}") + [generator_file] + script_deps, f"{File(generator_file).relpath} {target} {Dir(output_dir).relpath}") generated_cc_file = File(generated_src_files[:1])