mksnapshot 421 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. version=$(dpkg-parsechangelog | grep ^Version | sed 's/^Version: //' | sed 's/-1$//')
  3. dir=uclibc-${version}
  4. export CVSROOT='cvs.uclinux.org:/var/cvs'
  5. #export CVSROOT=':pserver:anonymous@cvs.uclinux.org:/var/cvs'
  6. #if ! grep -q '^.pserver.anonymous.cvs.uclinux.org..var.cvs' ~/.cvspass
  7. #then
  8. #echo "$CVSROOT" 'Ay=0=a%0bZ' >>~/.cvspass
  9. #fi
  10. rm -rf ${dir}
  11. cvs co -d ${dir} uClibc
  12. tar -czvf ${dir}.tgz ${dir}