summaryrefslogtreecommitdiff
path: root/debian/mksnapshot
diff options
context:
space:
mode:
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