diff options
author | Brad King <brad.king@kitware.com> | 2014-01-28 15:40:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-01-29 15:10:15 (GMT) |
commit | 174314e08a73011fe0115dde9932bc8e2fd6ebc9 (patch) | |
tree | 482ac0d45694a520fd140ce69a31ab9efe458c7c /Utilities | |
parent | 1df21617e47f47ed73cf48f038ea9ef098ff7d93 (diff) | |
download | CMake-174314e08a73011fe0115dde9932bc8e2fd6ebc9.zip CMake-174314e08a73011fe0115dde9932bc8e2fd6ebc9.tar.gz CMake-174314e08a73011fe0115dde9932bc8e2fd6ebc9.tar.bz2 |
Utilities/Release: Fix for spaces in host path
Quote paths in the generated shell scripts so they work with spaces.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/Release/create-cmake-release.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/Release/create-cmake-release.cmake b/Utilities/Release/create-cmake-release.cmake index 37e223d..f4789a7 100644 --- a/Utilities/Release/create-cmake-release.cmake +++ b/Utilities/Release/create-cmake-release.cmake @@ -28,8 +28,8 @@ function(write_batch_shell_script filename) math(EXPR y "160*(${i}%4)") file(APPEND ${filename} " -${CMAKE_COMMAND} -DCMAKE_CREATE_VERSION=${CMAKE_CREATE_VERSION} -P ${CMAKE_ROOT}/Utilities/Release/${f} < /dev/null >& ${CMAKE_CURRENT_SOURCE_DIR}/logs/${f}-${CMAKE_CREATE_VERSION}.log & -xterm -geometry 64x6+${x}+${y} -sb -sl 2000 -T ${f}-${CMAKE_CREATE_VERSION}.log -e tail -f ${CMAKE_CURRENT_SOURCE_DIR}/logs/${f}-${CMAKE_CREATE_VERSION}.log& +\"${CMAKE_COMMAND}\" -DCMAKE_CREATE_VERSION=${CMAKE_CREATE_VERSION} -P \"${CMAKE_ROOT}/Utilities/Release/${f}\" < /dev/null >& \"${CMAKE_CURRENT_SOURCE_DIR}/logs/${f}-${CMAKE_CREATE_VERSION}.log\" & +xterm -geometry 64x6+${x}+${y} -sb -sl 2000 -T ${f}-${CMAKE_CREATE_VERSION}.log -e tail -f \"${CMAKE_CURRENT_SOURCE_DIR}/logs/${f}-${CMAKE_CREATE_VERSION}.log\" & ") math(EXPR i "${i}+1") endforeach() |