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