diff --git a/scripts/run_cmake.py b/scripts/run_cmake.py index bf9c57a..a89c1d4 100755 --- a/scripts/run_cmake.py +++ b/scripts/run_cmake.py @@ -153,6 +153,8 @@ def secure_delete(path: str): return def del_rw(action, name, exc): + if not os.path.exists(name): + return os.chmod(name, stat.S_IWRITE) os.remove(name)