ENH: add missing quote and some comments

This commit is contained in:
Bill Hoffman 2006-05-05 12:34:26 -04:00
parent c0c80acc4a
commit 495a77e9e8
2 changed files with 5 additions and 1 deletions

View File

@ -54,9 +54,13 @@ configure_file(${SCRIPT_PATH}/release_cmake.sh.in
file(READ release_cmake-${HOST}.sh RELEASE_CMAKE_CONTENTS) file(READ release_cmake-${HOST}.sh RELEASE_CMAKE_CONTENTS)
remote_command("remove old release_cmake-${HOST}.sh from server" remote_command("remove old release_cmake-${HOST}.sh from server"
"rm -f release_cmake-${HOST}.sh") "rm -f release_cmake-${HOST}.sh")
# copy the release script to the remote server via tr to remove any dos
# line feed stuff in case this was run on a windows box
remote_command("Copy release_cmake-${HOST}.sh to sever" remote_command("Copy release_cmake-${HOST}.sh to sever"
"tr -d '\\\\015' > release_cmake-${HOST}.sh" release_cmake-${HOST}.sh) "tr -d '\\\\015' > release_cmake-${HOST}.sh" release_cmake-${HOST}.sh)
# now run the script on the remote machine
remote_command("Run release script" "${RUN_SHELL} release_cmake-${HOST}.sh") remote_command("Run release script" "${RUN_SHELL} release_cmake-${HOST}.sh")
message("copy the .gz file back from the machine") message("copy the .gz file back from the machine")

View File

@ -43,7 +43,7 @@ echo "Run cmake bootstrap --parallel=@PROCESSORS@"
../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@ ../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@
check_exit_value $? "Bootstrap cmake" || exit 1 check_exit_value $? "Bootstrap cmake" || exit 1
echo "Build cmake with @MAKE@ echo "Build cmake with @MAKE@"
@MAKE@ @MAKE@
check_exit_value $? "Build cmake" || exit 1 check_exit_value $? "Build cmake" || exit 1