Execute make in shell because that appears to do something

This commit is contained in:
Kumi 2019-02-10 18:49:36 +00:00
parent 2d71aebc06
commit 1a2ae036e5

View file

@ -74,7 +74,7 @@ def mkfirmware(device, path):
os.chdir(SRCDIR) os.chdir(SRCDIR)
try: try:
subprocess.run(["/usr/bin/make"], timeout=300) subprocess.run(["/usr/bin/make"], shell=True)
os.chdir(BEFORE) os.chdir(BEFORE)
@ -86,7 +86,7 @@ def mkfirmware(device, path):
device.save() device.save()
return True return True
except: except Exception:
os.remove(SRCDIR + "/.kumilock") os.remove(SRCDIR + "/.kumilock")
os.chdir(BEFORE) os.chdir(BEFORE)
return False return False