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

[Build process] Rather move the binary than copy it to avoid race conditions

This commit is contained in:
Bertrand Songis 2017-01-29 13:42:46 +01:00
parent 3e00d016b2
commit cc8de81128

View file

@ -221,7 +221,7 @@ if not os.path.isfile(path):
# Copy binary to the binaries directory
shutil.copyfile(target, path)
shutil.move(target, path)
print filename
exit(0)