From db24b021b0c572f37751607dbb2520e55168d7f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 17 Jan 2007 16:32:13 +0000 Subject: [PATCH] add --cvs-branch git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19967 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tools/heimdal-build.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tools/heimdal-build.sh b/tools/heimdal-build.sh index eac783225..a06b72c20 100644 --- a/tools/heimdal-build.sh +++ b/tools/heimdal-build.sh @@ -45,6 +45,7 @@ dir= hversion= cvsroot= cvsflags= +cvsbranch= autotools=no distcheck=no @@ -82,6 +83,15 @@ do cvsflags="$2" shift 2 ;; + --cvs-branch) + if [ "X$cvsroot" == "X" ] ; then + echo "option --cvs must be given before --cvs-branch" + exit 1 + fi + cvsbranch="-r $2" + hversion="$2" + shift 2 + ;; --release) hversion="heimdal-$2" shift 2 @@ -186,7 +196,8 @@ afs) res=$? ;; cvs) - cvs -Qq ${cvsflags} -d "${cvsroot}" co -P -d ${hversion} heimdal + cvs -Qq ${cvsflags} -d "${cvsroot}" \ + co -P ${cvsbranch} -d ${hversion} heimdal res=$? unpack=no autotools=yes