blob: e406fa228aad0859ddd003c5d9ef0b4eb20116f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
touch test || exit 1 # i need write perms
rm test || exit 1 # if this fails - you'r in limbo
export CVSROOT=:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs
echo enter "anoncvs"
cvs login || exit 1 # please login again
cvs get src/games/tetris || exit 1 # it's important this succeeds
cvs logout # don't care if this fails
rm -rf ./src/games/tetris/CVS/ || exit 1
rm -rf ./src/games/tetris/Makefile || exit 1
tar -czpf tetris-`date "+%d%m%Y"`.tar.gz -C ./src/games/tetris/ . || exit 1
rm -rf ./src
|