1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-17 05:15:17 +03:00

chore: Update paths in legacy build scripts

This commit is contained in:
Peter Feerick 2022-08-16 20:41:09 +10:00
parent e1ea57cb60
commit 6028c24f36
7 changed files with 7 additions and 7 deletions

View file

@ -43,7 +43,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)