1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/astro/josm/files/josm.sh.in
Dmitry Marakasov f98e2345f1 - Update to 4550
- Allow to change memory limit

Feature safe:	yes
2011-11-27 23:03:11 +00:00

10 lines
197 B
Bash

#!/bin/sh
#
# $FreeBSD$
JAVA="%%LOCALBASE%%/bin/java"
JARPATH="%%JAVALIBDIR%%"
export JAVA_VERSION="%%JAVA_VERSION%%"
exec "${JAVA}" -Xmx%%JOSM_MEMORY_LIMIT%%m -jar "${JARPATH}/%%JARNAME%%" "$@"