ENH: remove old copy
This commit is contained in:
parent
9f46c81b45
commit
c0c80acc4a
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue