summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-01-15 23:48:26 (GMT)
committerBrad King <brad.king@kitware.com>2003-01-15 23:48:26 (GMT)
commit192f288a0f990a79b240448af1b69a99c6eff4c1 (patch)
tree40a5162fb01903d7d89c63ae6e452c2ffebd6bc2 /Utilities
parent35505b9d8ed984a5301789f614120135b596c878 (diff)
downloadCMake-192f288a0f990a79b240448af1b69a99c6eff4c1.zip
CMake-192f288a0f990a79b240448af1b69a99c6eff4c1.tar.gz
CMake-192f288a0f990a79b240448af1b69a99c6eff4c1.tar.bz2
BUG: Finished clean target and fixed grep for cvsroot in ~/.cvspass.
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Release/cmake_release.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh
index 1916280..15582d8 100755
--- a/Utilities/Release/cmake_release.sh
+++ b/Utilities/Release/cmake_release.sh
@@ -21,7 +21,8 @@
#
SELF="$0"
-CVSROOT=:pserver:anonymous@www.cmake.org:/cvsroot/CMake
+CVSROOT=":pserver:anonymous@www.cmake.org:/cvsroot/CMake"
+CVSROOT_GREP=":pserver:anonymous@www.cmake.org:[0-9]*/cvsroot/CMake"
TAG="Release-1-6"
VERSION="1.6.beta2"
RELEASE="1"
@@ -83,9 +84,11 @@ setup()
clean()
{
setup || return 1
- echo "Cleaning up ${RELEASE_ROOT}"
- rm -rf cmake-*
- rm -rf ReleaseUtilities
+ echo "Cleaning up ${RELEASE_ROOT}" &&
+ rm -rf cmake-* &&
+ rm -rf ReleaseUtilities &&
+ rm -rf Tarballs &&
+ rm -rf Install
}
#-----------------------------------------------------------------------------
@@ -99,7 +102,7 @@ cvs_login()
else
CVSPASS=""
fi
- if [ -z "`grep \"$CVSROOT\" ${CVSPASS} /dev/null`" ]; then
+ if [ -z "`grep \"$CVSROOT_GREP\" ${CVSPASS} /dev/null`" ]; then
echo "cmake" | cvs -q -z3 -d $CVSROOT login
else
echo "Already logged in."