Skip to content

Commit 4f7f0b8

Browse files
authored
Merge pull request #115 from justmobilize/fix-py-build
Fix py build not using created temp file
2 parents 9688876 + 581f7c5 commit 4f7f0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuitpython_build_tools/build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def library(library_path, output_directory, package_folder_prefix,
311311
if mpy_success != 0:
312312
raise RuntimeError("mpy-cross failed on", full_path)
313313
else:
314-
shutil.copyfile(full_path, output_file)
314+
shutil.copyfile(temp_file_name, output_file)
315315
finally:
316316
os.remove(temp_file_name)
317317
else:

0 commit comments

Comments
 (0)