mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 14:24:08 +00:00
Merge pull request #185 from georgerennie/prefix_empty_taskname
Use default prefix directory when no task is specified
This commit is contained in:
commit
157bb156c0
|
@ -402,7 +402,10 @@ def run_task(taskname):
|
|||
if workdir is not None:
|
||||
my_workdir = workdir
|
||||
elif workdir_prefix is not None:
|
||||
my_workdir = workdir_prefix + "_" + taskname
|
||||
if taskname is None:
|
||||
my_workdir = workdir_prefix
|
||||
else:
|
||||
my_workdir = workdir_prefix + "_" + taskname
|
||||
|
||||
if my_workdir is None and sbyfile is not None and not my_opt_tmpdir:
|
||||
my_workdir = sbyfile[:-4]
|
||||
|
|
Loading…
Reference in a new issue