From e64f3c8b67f391dc3bb7a30a45f0fedc532fdbde Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 Feb 2005 07:53:03 -0500 Subject: BUG: Fix for space in path for chdir test. We just need to double-quote the arguments. --- Tests/CommandLineTest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CommandLineTest/CMakeLists.txt b/Tests/CommandLineTest/CMakeLists.txt index 7e3a378..51a80cf 100644 --- a/Tests/CommandLineTest/CMakeLists.txt +++ b/Tests/CommandLineTest/CMakeLists.txt @@ -9,7 +9,7 @@ MACRO(EXEC_CMAKE_COMMAND CMAKE_ARGS) ENDIF(${RET}) ENDMACRO(EXEC_CMAKE_COMMAND) -EXEC_CMAKE_COMMAND("-E chdir ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_COMMAND} -E echo \"Hello World\"") +EXEC_CMAKE_COMMAND("-E chdir \"${CMAKE_CURRENT_SOURCE_DIR}\" \"${CMAKE_COMMAND}\" -E echo \"Hello World\"") EXEC_CMAKE_COMMAND("-E time \"${CMAKE_COMMAND} -N -L ${CommandLineTest_SOURCE_DIR}\"") EXEC_CMAKE_COMMAND("-E time \"${CMAKE_COMMAND} -N -LA ${CommandLineTest_SOURCE_DIR}\"") EXEC_CMAKE_COMMAND("-E time \"${CMAKE_COMMAND} -N -LH ${CommandLineTest_SOURCE_DIR}\"") -- cgit v0.12