ENH: remove old copy

This commit is contained in:
Bill Hoffman 2006-05-05 12:25:28 -04:00
parent 9f46c81b45
commit c0c80acc4a
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -58,3 +58,5 @@ check_exit_value $? "Package cmake" || exit 1
echo "Create Tar.gz"
./bin/cpack -G TGZ
check_exit_value $? "Create TGZ" || exit 1
exit 0