diff options
author | Brad King <brad.king@kitware.com> | 2009-04-23 13:10:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-23 13:10:07 (GMT) |
commit | d847ca8e270685826222b4ab106a380f9a5e7db0 (patch) | |
tree | fbbe5d37ed48b9e572453e9a2b4ec547ebb19210 /Tests/CTestUpdateGIT.cmake.in | |
parent | f353df7ffc027c8d61d34581679f5dcafe2c0fc3 (diff) | |
download | CMake-d847ca8e270685826222b4ab106a380f9a5e7db0.zip CMake-d847ca8e270685826222b4ab106a380f9a5e7db0.tar.gz CMake-d847ca8e270685826222b4ab106a380f9a5e7db0.tar.bz2 |
BUG: Fix CTest.UpdateGIT test for older git
Older git versions do not support 'git init --bare', so we instead use
the more proper 'git --bare init'.
Diffstat (limited to 'Tests/CTestUpdateGIT.cmake.in')
-rw-r--r-- | Tests/CTestUpdateGIT.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestUpdateGIT.cmake.in b/Tests/CTestUpdateGIT.cmake.in index 0ffca65..2606254 100644 --- a/Tests/CTestUpdateGIT.cmake.in +++ b/Tests/CTestUpdateGIT.cmake.in @@ -31,7 +31,7 @@ message("Creating repository...") file(MAKE_DIRECTORY ${TOP}/repo.git) run_child( WORKING_DIRECTORY ${TOP}/repo.git - COMMAND ${GIT} init --bare + COMMAND ${GIT} --bare init ) file(REMOVE_RECURSE ${TOP}/repo.git/hooks) set(REPO file://${TOP}/repo.git) |