freebsd-ports/games/pcgen/files/pcgen.sh.in
Herve Quiroz ce9d4342b9 - Update to 5.12.0
- Use 'exec' to launch the JVM
2007-07-08 18:02:51 +00:00

7 lines
193 B
Bash

#!/bin/sh
#
# $FreeBSD$
[ \! -d "${HOME}/.pcgen" ] && mkdir "${HOME}/.pcgen"
cd "%%DATADIR%%"
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" ${PCGEN_OPTS} -jar ./pcgen.jar "$@"