summaryrefslogtreecommitdiff
path: root/debian/mksnapshot
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2002-08-09 23:01:39 +0000
committerDavid Schleef <ds@schleef.org>2002-08-09 23:01:39 +0000
commit5ebd661263e12344da578d2794363ef958d6b20e (patch)
treee0ce923a7a1716a96e6f6e2c73d1eb1c3c893e7d /debian/mksnapshot
parentcbbea73abcb0124d4f7d7c3bde0ea4395374d401 (diff)
fix mksnapshot and update documentation.
Diffstat (limited to 'debian/mksnapshot')
-rwxr-xr-xdebian/mksnapshot15
1 files changed, 9 insertions, 6 deletions
diff --git a/debian/mksnapshot b/debian/mksnapshot
index bb6bb98b0..86795b448 100755
--- a/debian/mksnapshot
+++ b/debian/mksnapshot
@@ -9,12 +9,15 @@ dir=uclibc-${version}-cvs${today}
mkdir -p ${topdir}/uclibc-tmp
cd ${topdir}/uclibc-tmp
-#export CVSROOT=':pserver:anonymous@cvs.uclibc.org:/var/cvs'
-#if ! grep -q '^.pserver.anonymous.cvs.uclibc.org..var.cvs' ~/.cvspass
-#then
-# echo "$CVSROOT" 'Ay=0=a%0bZ' >>~/.cvspass
-#fi
-export CVSROOT='ds@cvs.uclibc.org:/var/cvs'
+if [ "$(whoami)" = "ds" ];then
+ export CVSROOT='ds@cvs.uclibc.org:/var/cvs'
+else
+ export CVSROOT=':pserver:anonymous@cvs.uclibc.org:/var/cvs'
+ if ! grep -q '^.pserver.anonymous.cvs.uclibc.org..var.cvs' ~/.cvspass
+ then
+ echo "$CVSROOT" 'Ay=0=a%0bZ' >>~/.cvspass
+ fi
+fi
cvs co -d ${dir} uClibc