From e3b384dc7f5da121deab1a73b8ec4cb5225b53a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 16 Apr 2020 11:23:02 +0200 Subject: [PATCH] deleting recursively --- scripts/run_cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)