summaryrefslogtreecommitdiff
path: root/support/openscad
diff options
context:
space:
mode:
Diffstat (limited to 'support/openscad')
-rw-r--r--support/openscad/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/openscad/__main__.py b/support/openscad/__main__.py
index 2042a65..28de2cf 100644
--- a/support/openscad/__main__.py
+++ b/support/openscad/__main__.py
@@ -42,7 +42,7 @@ def main(in_path, out_path, deps_path):
# Write output files.
_write_dependencies(deps_path, relpath(out_path), deps - ignored_files)
- os.rename(temp_out_path, out_path)
+ util.rename_atomic(temp_out_path, out_path)
try: