summaryrefslogtreecommitdiff
path: root/source/x/xdg-utils/xdg-utils-cvs_checkout.sh
blob: 74d7ba0e6ce3d928206993d732d2df14cbd8f679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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
find . -name CVS -exec rm -rf "{}" \; 2> /dev/null
tar cjf ../$MODULE-${DATE}cvs.tar.bz2 $MODULE
popd

rm -rf portland