Skip to content

Commit

Permalink
custom_script: Fix generation dependency for conf-<name> target
Browse files Browse the repository at this point in the history
Dependency for conf-<name> target was <work_dir>/<work_dir>/conf-<name>.yaml
Fixed for <work_dir>/conf-<name>.yaml

Signed-off-by: Dmytro Semenets <[email protected]>
Reviewed-by: Volodymyr Babchuk <[email protected]>
  • Loading branch information
dsemenets committed Feb 26, 2024
1 parent 12650e4 commit 9a7dbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moulin/builders/custom_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def gen_build(self):
config_file=local_conf_file))
self.generator.newline()

self.generator.build(f"conf-{self.name}", "phony", os.path.join(work_dir, local_conf_target))
self.generator.build(f"conf-{self.name}", "phony", local_conf_target)
self.generator.newline()

self.generator.build(targets, "cs_build", deps, variables=dict(
Expand Down

0 comments on commit 9a7dbd1

Please sign in to comment.