summaryrefslogtreecommitdiff
path: root/source/x/xdg-utils/xdg-utils-cvs_checkout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/xdg-utils/xdg-utils-cvs_checkout.sh')
-rwxr-xr-xsource/x/xdg-utils/xdg-utils-cvs_checkout.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/x/xdg-utils/xdg-utils-cvs_checkout.sh b/source/x/xdg-utils/xdg-utils-cvs_checkout.sh
new file mode 100755
index 00000000..74d7ba0e
--- /dev/null
+++ b/source/x/xdg-utils/xdg-utils-cvs_checkout.sh
@@ -0,0 +1,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