summaryrefslogtreecommitdiffstats
path: root/Utilities/Release
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-23 16:46:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-23 16:46:33 (GMT)
commit290a6e287056521b2f7e6144d7c45091f803d259 (patch)
tree793432617cc5f5d39d5504c527f583844183761b /Utilities/Release
parentfc921a021cb06c40d0d209f2b50d4c30eecb7fe0 (diff)
downloadCMake-290a6e287056521b2f7e6144d7c45091f803d259.zip
CMake-290a6e287056521b2f7e6144d7c45091f803d259.tar.gz
CMake-290a6e287056521b2f7e6144d7c45091f803d259.tar.bz2
Handle older cvs clients that do not allow for the password to be in the CVSROOT.
Diffstat (limited to 'Utilities/Release')
-rw-r--r--Utilities/Release/magrathea_release.cmake1
-rw-r--r--Utilities/Release/release_cmake.cmake5
2 files changed, 5 insertions, 1 deletions
diff --git a/Utilities/Release/magrathea_release.cmake b/Utilities/Release/magrathea_release.cmake
index 549460e..14a4935 100644
--- a/Utilities/Release/magrathea_release.cmake
+++ b/Utilities/Release/magrathea_release.cmake
@@ -1,4 +1,5 @@
set(PROCESSORS 1)
+set(CVSROOT ":pserver:anonymous@www.cmake.org:/cvsroot/CMake")
set(HOST magrathea)
set(MAKE_PROGRAM "make")
set(CC gcc332s)
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index eca1c6e..91e2501 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -1,4 +1,7 @@
-set(CVSROOT ":pserver:anonymous:cmake@www.cmake.org:/cvsroot/CMake")
+if(NOT DEFINED CVSROOT)
+ set(CVSROOT ":pserver:anonymous:cmake@www.cmake.org:/cvsroot/CMake")
+endif()
+
get_filename_component(SCRIPT_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH)
# default to self extracting tgz, tgz, and tar.Z