c19f42a07d
PR: ports/50535
12 lines
517 B
Bash
12 lines
517 B
Bash
#!/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
|