summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/mksnapshot20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/mksnapshot b/debian/mksnapshot
new file mode 100755
index 000000000..4c8ef7dcf
--- /dev/null
+++ b/debian/mksnapshot
@@ -0,0 +1,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}
+
+