ENH: more stuff

This commit is contained in:
Bill Hoffman 2006-05-02 16:41:06 -04:00
parent 3832369ffa
commit 67490f57a9
2 changed files with 3 additions and 1 deletions

1
Utilities/Release/cmake_login Executable file
View File

@ -0,0 +1 @@
cmake

View File

@ -19,7 +19,7 @@ message("Creating CMake release ${CMAKE_VERSION} on ${HOST} with parallel = ${PR
macro(remote_command comment command) macro(remote_command comment command)
message("${comment}") message("${comment}")
if(${ARGC} GREATER 2) if(${ARGC} GREATER 2)
execute_process(COMMAND ssh ${HOST} ${command} RESULT_VARIABLE result INPUT_FILE ${ARGV0}) execute_process(COMMAND ssh ${HOST} ${command} RESULT_VARIABLE result INPUT_FILE ${ARGV2})
else(${ARGC} GREATER 2) else(${ARGC} GREATER 2)
execute_process(COMMAND ssh ${HOST} ${command} RESULT_VARIABLE result) execute_process(COMMAND ssh ${HOST} ${command} RESULT_VARIABLE result)
endif(${ARGC} GREATER 2) endif(${ARGC} GREATER 2)
@ -37,6 +37,7 @@ remote_command(
remote_command( remote_command(
"Login into cvs." "Login into cvs."
"cvs -d ${CVSROOT} login" cmake_login) "cvs -d ${CVSROOT} login" cmake_login)
message(FATAL_ERROR "done")
# checkout the source # checkout the source
remote_command( remote_command(
"Checkout the source for ${CMAKE_VERSION}" "Checkout the source for ${CMAKE_VERSION}"