From: Florent Kermarrec Date: Sun, 28 Oct 2018 14:40:52 +0000 (+0100) Subject: build/lattice/diamond: use bash on linux X-Git-Tag: 24jan2021_ls180~1553 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=397e3c76826ed9f4859e140410b6cd6221ec41c8;p=litex.git build/lattice/diamond: use bash on linux --- diff --git a/litex/build/lattice/diamond.py b/litex/build/lattice/diamond.py index 327799eb..17516aa4 100644 --- a/litex/build/lattice/diamond.py +++ b/litex/build/lattice/diamond.py @@ -82,7 +82,7 @@ def _run_diamond(build_name, toolchain_path, ver=None): build_script_file = "build_{}.sh".format(build_name) tools.write_to_file(build_script_file, build_script_contents) - r = subprocess.call(['/bin/sh', build_script_file]) + r = subprocess.call(["bash", build_script_file]) shutil.copy(os.path.join("implementation", build_name + "_implementation.bit"), build_name + ".bit") else: raise NotImplementedError