summaryrefslogtreecommitdiff
path: root/debian/mksnapshot
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mksnapshot')
-rwxr-xr-xdebian/mksnapshot10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/mksnapshot b/debian/mksnapshot
index b0bbe4beb..6817e59c8 100755
--- a/debian/mksnapshot
+++ b/debian/mksnapshot
@@ -4,6 +4,7 @@
topdir=$(pwd)
today=$(date +%Y%m%d)
version=0.9.9
+dir=uclibc-${version}-cvs${today}
mkdir -p ${topdir}/uclibc-tmp
cd ${topdir}/uclibc-tmp
@@ -14,21 +15,20 @@ then
echo "$CVSROOT" 'Ay=0=a%0bZ' >>~/.cvspass
fi
-cvs co uClibc
+cvs co -D ${dir} uClibc
-cd ${topdir}/uclibc-tmp/uClibc/debian
+cd ${topdir}/uclibc-tmp/${dir}/debian
echo "uclibc (${version}-cvs${today}-1) unstable; urgency=low" >changelog.tmp
echo >>changelog.tmp
echo " * This is an automatic snapshot of uClibc CVS" >>changelog.tmp
echo >>changelog.tmp
echo " -- David Schleef <ds@schleef.org> $(date -R)" >>changelog.tmp
+echo >>changelog.tmp
cat changelog >>changelog.tmp
mv changelog.tmp changelog
cd ${topdir}/uclibc-tmp
-mv uClibc uclibc-${version}-cvs${today}
-tar -czf ../uclibc-${version}-cvs${today}.tgz uclibc-${version}-cvs${today}
-
+tar -czf ../uclibc_${version}-cvs${today}.orig.tar.gz ${dir}
cd ${topdir}
rm -rf uclibc-tmp