aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/airport/files
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2006-05-23 23:43:24 +0000
committerHerve Quiroz <hq@FreeBSD.org>2006-05-23 23:43:24 +0000
commit8f5e634f0cd12e4b782acd578453c680ebe3e25f (patch)
tree42367fec2bb261b6040951b3986944902dc6daba /net-mgmt/airport/files
parentaab303448be19dc37455d13590b37473e1f688e3 (diff)
Notes
Diffstat (limited to 'net-mgmt/airport/files')
-rw-r--r--net-mgmt/airport/files/airport.sh.in (renamed from net-mgmt/airport/files/airport)7
1 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport.sh.in
index b5cd960bcc44..05e4b58b64f7 100644
--- a/net-mgmt/airport/files/airport
+++ b/net-mgmt/airport/files/airport.sh.in
@@ -1,4 +1,6 @@
#! /bin/sh
+#
+# $FreeBSD$
case $0 in
*airport)
@@ -21,6 +23,5 @@ case $0 in
exit 1
esac
-exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/java/${file}.jar
-
-exit 1
+JAVA_VERSION="%%JAVA_VERSION%%" \
+ exec "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/${file}.jar" "$@"