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)
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue