1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +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 # Copy binary to the binaries directory
shutil.copyfile(target, path) shutil.move(target, path)
print filename print filename
exit(0) exit(0)