aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsprune/files/gpsprune.sh.in
diff options
context:
space:
mode:
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%%" "$@"