summaryrefslogtreecommitdiff
path: root/games/bsdtris/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdtris/files')
-rw-r--r--games/bsdtris/files/mkbsdtristarball11
-rw-r--r--games/bsdtris/files/mktetristarball12
2 files changed, 11 insertions, 12 deletions
diff --git a/games/bsdtris/files/mkbsdtristarball b/games/bsdtris/files/mkbsdtristarball
new file mode 100644
index 000000000000..7d3ee0baaa31
--- /dev/null
+++ b/games/bsdtris/files/mkbsdtristarball
@@ -0,0 +1,11 @@
+#!/bin/sh
+touch test || exit 1 # i need write perms
+rm test || exit 1 # if this fails - you'r in limbo
+echo enter "anoncvs"
+cvs -d :pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs login || exit 1 # please login again
+cvs -d :pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs get src/games/tetris || exit 1 # it's important this succeeds
+cvs -d :pserver:anoncvs@anoncvs1.usa.openbsd.org:/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 bsdtris-`date "+%d%m%Y"`.tar.gz -C ./src/games/tetris/ . || exit 1
+rm -rf ./src
diff --git a/games/bsdtris/files/mktetristarball b/games/bsdtris/files/mktetristarball
deleted file mode 100644
index e406fa228aad..000000000000
--- a/games/bsdtris/files/mktetristarball
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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