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:
parent
3e00d016b2
commit
cc8de81128
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue