Execute make in shell because that appears to do something
This commit is contained in:
parent
2d71aebc06
commit
1a2ae036e5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue