mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
f98e2345f1
- Allow to change memory limit Feature safe: yes
10 lines
197 B
Bash
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%%" "$@"
|