diff --git a/scripts/run_cmake.py b/scripts/run_cmake.py index ace4845..0d19446 100755 --- a/scripts/run_cmake.py +++ b/scripts/run_cmake.py @@ -156,7 +156,7 @@ def secure_delete(path: str): if not os.path.exists(name): return os.chmod(name, stat.S_IWRITE) - os.unlink(name) + secure_delete(name) shutil.rmtree(path, onerror=del_rw)