summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-10-11 22:56:29 +0000
committerDavid Schleef <ds@schleef.org>2001-10-11 22:56:29 +0000
commitecd25dd183e0f090cdcd93f7a2dfbdd22ce88e33 (patch)
tree6dccd45237e2cb57fc09a1583887884e4b1dcf91 /debian
parentbfa4828c999a95bd8c7f64389ab2e59914a7c9ce (diff)
Little script to create a properly-named snapshot for Debian packaging
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}
+
+