1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
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

8 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 "$@"