mirror of
https://github.com/YosysHQ/sby.git
synced 2025-07-05 14:35:45 +00:00
Do not overwrite config.sby in reusedir mode
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
ef26dff799
commit
93a5dd0641
1 changed files with 4 additions and 3 deletions
|
@ -191,6 +191,7 @@ class SbyJob:
|
||||||
print(line, file=self.logfile)
|
print(line, file=self.logfile)
|
||||||
self.logfile.flush()
|
self.logfile.flush()
|
||||||
|
|
||||||
|
if not reusedir:
|
||||||
with open("%s/config.sby" % workdir, "w") as f:
|
with open("%s/config.sby" % workdir, "w") as f:
|
||||||
for line in sbyconfig:
|
for line in sbyconfig:
|
||||||
print(line, file=f)
|
print(line, file=f)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue