mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-26 06:36:02 +00:00
Fix heredoc in sub dir
Also change log to use absolute path for consistency with the copy/link logs.
This commit is contained in:
parent
1d28294391
commit
5fffe7eda6
3 changed files with 7 additions and 3 deletions
|
@ -1039,8 +1039,9 @@ class SbyTask(SbyConfig):
|
|||
self.makedirs(outdir)
|
||||
|
||||
for dstfile, lines in self.verbatim_files.items():
|
||||
dstfile = self.workdir + "/src/" + dstfile
|
||||
self.log(f"Writing '{dstfile}'.")
|
||||
dstfile = outdir / dstfile
|
||||
self.log(f"Writing '{dstfile.absolute()}'.")
|
||||
dstfile.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
with open(dstfile, "w") as f:
|
||||
for line in lines:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue