aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsprune/files/gpsprune.sh.in
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-04-06 18:49:36 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-04-06 18:49:36 +0000
commitd43059787d7d4a5fd5e88375d18567276a976dbe (patch)
tree337da10bf22cd4146614e36b8290fdfe22bd6e57 /astro/gpsprune/files/gpsprune.sh.in
parentcaa1589515612ab06ce5e8ff9a0277504f47f9dc (diff)
downloadports-d43059787d7d4a5fd5e88375d18567276a976dbe.tar.gz
ports-d43059787d7d4a5fd5e88375d18567276a976dbe.zip
Notes
Diffstat (limited to 'astro/gpsprune/files/gpsprune.sh.in')
-rw-r--r--astro/gpsprune/files/gpsprune.sh.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/astro/gpsprune/files/gpsprune.sh.in b/astro/gpsprune/files/gpsprune.sh.in
index 6de0b4957942..efaf54d66451 100644
--- a/astro/gpsprune/files/gpsprune.sh.in
+++ b/astro/gpsprune/files/gpsprune.sh.in
@@ -2,7 +2,4 @@
#
# $FreeBSD$
-JAVA="%%LOCALBASE%%/bin/java"
-JARPATH="%%JAVALIBDIR%%"
-
-exec "${JAVA}" -jar "${JARPATH}/%%JARNAME%%" "$@"
+exec "%%JAVA%%" -jar "%%JAVALIBDIR%%/%%JARNAME%%" "$@"