From 397e3c76826ed9f4859e140410b6cd6221ec41c8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 28 Oct 2018 15:40:52 +0100 Subject: [PATCH] build/lattice/diamond: use bash on linux --- litex/build/lattice/diamond.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/diamond.py b/litex/build/lattice/diamond.py index 327799eba..17516aa47 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