Skip to content
Snippets Groups Projects
Unverified Commit a614df11 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon Committed by GitHub
Browse files

Merge pull request #289 from chuckatkins/fix-dashbaord-common-script

Fix check to use a clean build
parents b31012d0 782336ef
No related branches found
No related tags found
No related merge requests found
......@@ -357,9 +357,9 @@ if(COMMAND dashboard_hook_init)
endif()
if(dashboard_fresh)
if(EXISTS CTEST_BINARY_DIRECTORY)
if(EXISTS "${CTEST_BINARY_DIRECTORY}")
message("Clearing build tree...")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
ctest_empty_binary_directory("${CTEST_BINARY_DIRECTORY}")
else()
file(MAKE_DIRECTORY "${CTEST_BINARY_DIRECTORY}")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment