From de84ee596970312a0c106acf3639a378b1129d24 Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Fri, 17 Nov 2023 23:23:55 +0100 Subject: [PATCH] Use work-root-relative paths in icarus --- edalize/tools/icarus.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/edalize/tools/icarus.py b/edalize/tools/icarus.py index bc9553b3e..5db0fbda7 100644 --- a/edalize/tools/icarus.py +++ b/edalize/tools/icarus.py @@ -116,8 +116,7 @@ def setup(self, edam): self.scr_file = scr_file def write_config_files(self): - f = os.path.join(self.work_root, self.name + ".scr") - self.update_config_file(f, self.scr_file.getvalue()) + self.update_config_file(self.name + ".scr", self.scr_file.getvalue()) def run(self): args = ["run"]