summaryrefslogtreecommitdiff
path: root/debian/mksnapshot
blob: 4c8ef7dcfe33f25ae5e560e2526c8e0e1a9441e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh


version=$(dpkg-parsechangelog | grep ^Version | sed 's/^Version: //')

dir=uclibc-${version}

export CVSROOT='cvs.uclinux.org:/var/cvs'
#export CVSROOT=':pserver:anonymous@cvs.uclinux.org:/var/cvs'
#if ! grep -q '^.pserver.anonymous.cvs.uclinux.org..var.cvs' ~/.cvspass
#then
#echo "$CVSROOT" 'Ay=0=a%0bZ' >>~/.cvspass
#fi

rm -rf ${dir}
cvs co -d ${dir} uClibc

tar -czvf ${dir}.tgz ${dir}