summaryrefslogtreecommitdiff
path: root/java/jflex/files/jflex.sh.in
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-05-24 11:26:26 +0000
committerRene Ladan <rene@FreeBSD.org>2020-05-24 11:26:26 +0000
commitdc2f027f30f7a71d042c336e11eb632e286ce541 (patch)
tree39a8c3c0b6e269ad539a04486022a6ef00979a1e /java/jflex/files/jflex.sh.in
parentUpdate to 2.9.2 (diff)
java/jflex: undeprecate and update to 1.8.1
Further changes: - use a prebuilt jar file to avoid depending on Maven or Bazel - swith MASTER_SITES to GitHub - add BSD3CLAUSE license - rewrap pkg-descr PR: 245447 Submitted by: Jashank Jeremy Approved by: maintainer MFH: 2020Q2
Notes
Notes: svn path=/head/; revision=536386
Diffstat (limited to 'java/jflex/files/jflex.sh.in')
-rw-r--r--java/jflex/files/jflex.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/jflex/files/jflex.sh.in b/java/jflex/files/jflex.sh.in
index 7d90f63d7ab0..c7b4819a4b8e 100644
--- a/java/jflex/files/jflex.sh.in
+++ b/java/jflex/files/jflex.sh.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh
#
# Replacement for the script that came with JFlex
# because bash is not necessarily on a FreeBSD
@@ -11,4 +11,4 @@
# Allow the user to override where JFlex.jar lives
JAVAJARDIR="${JAVAJARDIR:-"%%JAVAJARDIR%%"}"
-"%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/JFlex.jar" "$@"
+exec "%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/jflex-%%PORTVERSION%%.jar" "$@"