From: Clifford Wolf Date: Sun, 22 Jan 2017 16:36:21 +0000 (+0100) Subject: Fix handling of empty src dir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37951b465a21970263c36b41dd2bdc1c651e2d16;p=SymbiYosys.git Fix handling of empty src dir --- diff --git a/sbysrc/sby_core.py b/sbysrc/sby_core.py index 17400c4..df47503 100644 --- a/sbysrc/sby_core.py +++ b/sbysrc/sby_core.py @@ -227,6 +227,8 @@ class SbyJob: self.logfile.flush() def copy_src(self): + os.makedirs(self.workdir + "/src") + for dstfile, srcfile in self.files.items(): dstfile = self.workdir + "/src/" + dstfile