diff options
author | David Schleef <ds@schleef.org> | 2001-10-11 22:56:29 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2001-10-11 22:56:29 +0000 |
commit | ecd25dd183e0f090cdcd93f7a2dfbdd22ce88e33 (patch) | |
tree | 6dccd45237e2cb57fc09a1583887884e4b1dcf91 | |
parent | bfa4828c999a95bd8c7f64389ab2e59914a7c9ce (diff) |
Little script to create a properly-named snapshot for Debian packaging
-rwxr-xr-x | debian/mksnapshot | 20 |
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} + + |