12345678910111213141516171819202122232425262728293031323334 |
- #!/bin/bash
- topdir=$(pwd)
- today=$(date +%Y%m%d)
- mkdir -p ${topdir}/uclibc-tmp
- cd ${topdir}/uclibc-tmp
- 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
- cvs co uClibc
- cd ${topdir}/uclibc-tmp/uClibc/debian
- echo "uclibc (0.9.5-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
- cat changelog >>changelog.tmp
- mv changelog.tmp changelog
- cd ${topdir}/uclibc-tmp
- mv uClibc uclibc-cvs-${today}
- tar -czf ../uclibc-cvs-${today}.tgz uclibc-cvs-${today}
- cd ${topdir}
- rm -rf uclibc-tmp
|