Skip to content
Snippets Groups Projects
Commit e12ebb98 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

clone if dir does not exist

parent b44479d0
Branches
Tags
No related merge requests found
......@@ -27,7 +27,7 @@ set(CTEST_GIT_REPOS http://gitlab.onelab.info/gmsh/gmsh.git)
if(NOT EXISTS "${CTEST_SOURCE_DIRECTORY}")
set(CTEST_CHECKOUT_COMMAND
"${CTEST_GIT_COMMAND} pull ${CTEST_GIT_REPOS} ${CTEST_SOURCE_DIRECTORY}")
"${CTEST_GIT_COMMAND} clone ${CTEST_GIT_REPOS} ${CTEST_SOURCE_DIRECTORY}")
endif(NOT EXISTS "${CTEST_SOURCE_DIRECTORY}")
set(CTEST_UPDATE_COMMAND "${CTEST_GIT_COMMAND}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment