2008-11-21 20:25:46 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
2009-09-13 19:53:34 +00:00
|
|
|
CVSUSER=:pserver:anonymous
|
|
|
|
#CVSUSER=rdieter
|
2008-11-21 20:25:46 +00:00
|
|
|
MODULE=$(basename $0 -cvs_checkout.sh)
|
|
|
|
DATE=$(date +%Y%m%d)
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
rm -rf $MODULE
|
|
|
|
|
2009-09-13 19:53:34 +00:00
|
|
|
cvs -z3 -d$CVSUSER@cvs.freedesktop.org:/cvs/portland checkout -P portland/$MODULE
|
2008-11-21 20:25:46 +00:00
|
|
|
pushd portland
|
|
|
|
tar czf ../$MODULE-${DATE}cvs.tgz $MODULE
|
|
|
|
popd
|
|
|
|
|
|
|
|
rm -rf portland
|