diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-05 16:34:26 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-05 16:34:26 (GMT) |
commit | 495a77e9e8db0eff8b8b42d5673b157802afae7f (patch) | |
tree | 233e910c7783b6c8e4fa037ba5d6d0b81b321460 /Utilities/Release/release_cmake.cmake | |
parent | c0c80acc4a971733b73a87a2e92572e998016967 (diff) | |
download | CMake-495a77e9e8db0eff8b8b42d5673b157802afae7f.zip CMake-495a77e9e8db0eff8b8b42d5673b157802afae7f.tar.gz CMake-495a77e9e8db0eff8b8b42d5673b157802afae7f.tar.bz2 |
ENH: add missing quote and some comments
Diffstat (limited to 'Utilities/Release/release_cmake.cmake')
-rw-r--r-- | Utilities/Release/release_cmake.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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") |