summaryrefslogtreecommitdiff
path: root/Tests/CTestUpdateHG.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestUpdateHG.cmake.in')
-rw-r--r--Tests/CTestUpdateHG.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestUpdateHG.cmake.in b/Tests/CTestUpdateHG.cmake.in
index 640d2c6f3..c5440f954 100644
--- a/Tests/CTestUpdateHG.cmake.in
+++ b/Tests/CTestUpdateHG.cmake.in
@@ -70,7 +70,7 @@ if(dirs_added)
WORKING_DIRECTORY ${TOP}/user-source
COMMAND ${HG} add ${dirs_added}
)
-endif(dirs_added)
+endif()
run_child(
WORKING_DIRECTORY ${TOP}/user-source
COMMAND ${HG} add ${files_added}