diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-05 16:25:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-05 16:25:28 (GMT) |
commit | c0c80acc4a971733b73a87a2e92572e998016967 (patch) | |
tree | 75f9a846347a205003c7380616589061097f52ed /Utilities/Release/release_cmake.cmake | |
parent | 9f46c81b45221a473c6d1fc9a64cec5fc022f352 (diff) | |
download | CMake-c0c80acc4a971733b73a87a2e92572e998016967.zip CMake-c0c80acc4a971733b73a87a2e92572e998016967.tar.gz CMake-c0c80acc4a971733b73a87a2e92572e998016967.tar.bz2 |
ENH: remove old copy
Diffstat (limited to 'Utilities/Release/release_cmake.cmake')
-rw-r--r-- | Utilities/Release/release_cmake.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 9882935..f5049ea 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -52,6 +52,8 @@ set(CMAKE_BACKWARDS_COMPATIBILITY 2.4) configure_file(${SCRIPT_PATH}/release_cmake.sh.in release_cmake-${HOST}.sh @ONLY) 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") remote_command("Copy release_cmake-${HOST}.sh to sever" "tr -d '\\\\015' > release_cmake-${HOST}.sh" release_cmake-${HOST}.sh) |