mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 01:05:10 +03:00
Update the script for firmware production
This commit is contained in:
parent
a2b5f1d11b
commit
0fe89c5dd9
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def build(board, srcdir):
|
|||
suffix = "" if index == 0 else "_%d" % index
|
||||
filename = "output/firmware_%s_%s%s.bin" % (board.lower(), timestamp(), suffix)
|
||||
if not os.path.exists(filename):
|
||||
os.rename("build/firmware.bin", "output/firmware_%s_%s.bin" % (board.lower(), timestamp()))
|
||||
os.rename("build/firmware.bin", filename)
|
||||
break
|
||||
index += 1
|
||||
shutil.rmtree("build")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue