diff options
Diffstat (limited to 'games-board/cgoban2/files/cgoban2')
-rw-r--r-- | games-board/cgoban2/files/cgoban2 | 10 |
1 files changed, 10 insertions, 0 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 |