diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-27 01:19:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-27 01:19:15 +0000 |
commit | 4bdd9db59f568496724cf29e7eb163e28c379781 (patch) | |
tree | b7447ac8d1d5a7c11e3796e95c149cf50ed149f6 /games-board/cgoban2/files | |
parent | fix permission changing (diff) | |
download | historical-4bdd9db59f568496724cf29e7eb163e28c379781.tar.gz historical-4bdd9db59f568496724cf29e7eb163e28c379781.tar.bz2 historical-4bdd9db59f568496724cf29e7eb163e28c379781.zip |
better wrapper script #29617
Diffstat (limited to 'games-board/cgoban2/files')
-rw-r--r-- | games-board/cgoban2/files/cgoban2 | 10 | ||||
-rw-r--r-- | games-board/cgoban2/files/digest-cgoban2-2.4.61 | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/games-board/cgoban2/files/cgoban2 b/games-board/cgoban2/files/cgoban2 new file mode 100644 index 000000000000..f5f054f53433 --- /dev/null +++ b/games-board/cgoban2/files/cgoban2 @@ -0,0 +1,10 @@ +#!/bin/sh +cd GENTOO_DIR +javabin="`which java 2>/dev/null`" +if [ -z "${javabin}" ] ; then + echo "No 'java' binary found." + echo "You should run 'java-config' to choose your default VM." + exit 1 +else + exec java -jar cgoban.jar "$@" +fi diff --git a/games-board/cgoban2/files/digest-cgoban2-2.4.61 b/games-board/cgoban2/files/digest-cgoban2-2.4.61 deleted file mode 100644 index b3b539e7433a..000000000000 --- a/games-board/cgoban2/files/digest-cgoban2-2.4.61 +++ /dev/null @@ -1 +0,0 @@ -MD5 8440400400a2e0bc8f37086e5dc9d7e6 cgoban-unix-2.4.61.tar.bz2 863301 |