From ecd25dd183e0f090cdcd93f7a2dfbdd22ce88e33 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 11 Oct 2001 22:56:29 +0000 Subject: Little script to create a properly-named snapshot for Debian packaging --- debian/mksnapshot | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 debian/mksnapshot (limited to 'debian') 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} + + -- cgit v1.2.3