From cc8de81128d4449231b03f40e41922fe8a8c2215 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sun, 29 Jan 2017 13:42:46 +0100 Subject: [PATCH] [Build process] Rather move the binary than copy it to avoid race conditions --- radio/util/build-firmware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/util/build-firmware.py b/radio/util/build-firmware.py index 6a52bf15c..798d40b37 100755 --- a/radio/util/build-firmware.py +++ b/radio/util/build-firmware.py @@ -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)