summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/CMake/cmake_uninstall.cmake.in
diff options
context:
space:
mode:
authorJohnny Jazeix <jazeix@gmail.com>2019-11-13 22:24:41 +0100
committerKyle Edwards <kyle.edwards@kitware.com>2019-11-13 18:02:18 -0500
commit2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (patch)
tree4e18ae98f53620d700a6727cf6a18c77dc2874a6 /Utilities/cmcurl/CMake/cmake_uninstall.cmake.in
parent5239fc5c753502e91a1ea6859842d7fc24a36253 (diff)
downloadcmake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.gz
replace remove and remove_directory with rm in tests
Diffstat (limited to 'Utilities/cmcurl/CMake/cmake_uninstall.cmake.in')
-rw-r--r--Utilities/cmcurl/CMake/cmake_uninstall.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMake/cmake_uninstall.cmake.in b/Utilities/cmcurl/CMake/cmake_uninstall.cmake.in
index db8e5367db..5178fd8281 100644
--- a/Utilities/cmcurl/CMake/cmake_uninstall.cmake.in
+++ b/Utilities/cmcurl/CMake/cmake_uninstall.cmake.in
@@ -13,7 +13,7 @@ foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
- "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
+ "@CMAKE_COMMAND@" ARGS "-E rm -f \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)