[Build process] Rather move the binary than copy it to avoid race conditions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user