blob: ed4a3d114382cad57339655a293fd13da3ecff95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh -e
OPTS=(
rootname Reviewer
reviewonly true
tantrix.classname G:GamePuzzle
viewerClass G:GameReviewer
)
if [ -f "$1" ]; then
OPTS+=(serverfile "file:$1")
shift
fi
exec /usr/bin/tantrix "${OPTS[@]}" "$@"
|