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:
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
|
||||
shutil.copyfile(target, path)
|
||||
shutil.move(target, path)
|
||||
|
||||
print filename
|
||||
exit(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue