17 lines
272 B
Bash
17 lines
272 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
MODULE=$(basename $0 -cvs_checkout.sh)
|
||
|
DATE=$(date +%Y%m%d)
|
||
|
|
||
|
set -x
|
||
|
|
||
|
rm -rf $MODULE
|
||
|
|
||
|
cvs -z3 -d:pserver:anonymous@cvs.freedesktop.org:/cvs/portland checkout -P portland/$MODULE
|
||
|
pushd portland
|
||
|
tar czf ../$MODULE-${DATE}cvs.tgz $MODULE
|
||
|
popd
|
||
|
|
||
|
rm -rf portland
|