From 495a77e9e8db0eff8b8b42d5673b157802afae7f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 5 May 2006 12:34:26 -0400 Subject: ENH: add missing quote and some comments --- Utilities/Release/release_cmake.cmake | 4 ++++ Utilities/Release/release_cmake.sh.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index f5049ea..f458cd8 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -54,9 +54,13 @@ configure_file(${SCRIPT_PATH}/release_cmake.sh.in file(READ release_cmake-${HOST}.sh RELEASE_CMAKE_CONTENTS) remote_command("remove old release_cmake-${HOST}.sh from server" "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" "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") message("copy the .gz file back from the machine") diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in index 7591149..b43df55 100755 --- a/Utilities/Release/release_cmake.sh.in +++ b/Utilities/Release/release_cmake.sh.in @@ -43,7 +43,7 @@ echo "Run cmake bootstrap --parallel=@PROCESSORS@" ../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@ check_exit_value $? "Bootstrap cmake" || exit 1 -echo "Build cmake with @MAKE@ +echo "Build cmake with @MAKE@" @MAKE@ check_exit_value $? "Build cmake" || exit 1 -- cgit v0.12