Skip to content

Commit

Permalink
Merge pull request #115 from justmobilize/fix-py-build
Browse files Browse the repository at this point in the history
Fix py build not using created temp file
  • Loading branch information
dhalbert authored Mar 3, 2024
2 parents 9688876 + 581f7c5 commit 4f7f0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuitpython_build_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def library(library_path, output_directory, package_folder_prefix,
if mpy_success != 0:
raise RuntimeError("mpy-cross failed on", full_path)
else:
shutil.copyfile(full_path, output_file)
shutil.copyfile(temp_file_name, output_file)
finally:
os.remove(temp_file_name)
else:
Expand Down

0 comments on commit 4f7f0b8

Please sign in to comment.