summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-08-13 14:06:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-13 14:07:09 (GMT)
commitfb56ac9209f368712284a3705c0d52ba6f55b6ed (patch)
treef66bf0fc2c0c1ffe06a6f05cba174d3630182c70 /Source/cmFileCommand.cxx
parent39d2ce4a71c7c337060bdbe68e3ac20178789300 (diff)
parent6bc77966ad7cce3f12d35e64bcda4be56094b2ca (diff)
downloadCMake-fb56ac9209f368712284a3705c0d52ba6f55b6ed.zip
CMake-fb56ac9209f368712284a3705c0d52ba6f55b6ed.tar.gz
CMake-fb56ac9209f368712284a3705c0d52ba6f55b6ed.tar.bz2
Merge topic 'retry-directory-delete'
6bc77966ad Retry removing directories on Windows 5729580376 Use registry setting for removal retry count and delay Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3667
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index fd319f6..d76692c 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -1356,7 +1356,7 @@ bool HandleRemoveImpl(std::vector<std::string> const& args, bool recurse,
if (cmSystemTools::FileIsDirectory(fileName) &&
!cmSystemTools::FileIsSymlink(fileName) && recurse) {
- cmSystemTools::RemoveADirectory(fileName);
+ cmSystemTools::RepeatedRemoveDirectory(fileName);
} else {
cmSystemTools::RemoveFile(fileName);
}