aboutsummaryrefslogtreecommitdiff
path: root/java/javavmwrapper
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-12-03 14:43:07 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-12-03 14:43:07 +0000
commit32a641962ebd124c3cc55ac9f5eb3251dace40c6 (patch)
treedadbf1074e7e1580b39aec24af4b95a14eddce7f /java/javavmwrapper
parentccf697b0fd69c96e399af6287289cc1b85bbdbd3 (diff)
downloadports-32a641962ebd124c3cc55ac9f5eb3251dace40c6.tar.gz
ports-32a641962ebd124c3cc55ac9f5eb3251dace40c6.zip
Notes
Diffstat (limited to 'java/javavmwrapper')
-rw-r--r--java/javavmwrapper/Makefile2
-rw-r--r--java/javavmwrapper/src/javavmwrapper.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile
index 2df0c9dc8af3..53ff0beb5ea8 100644
--- a/java/javavmwrapper/Makefile
+++ b/java/javavmwrapper/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= javavmwrapper
-PORTVERSION= 1.2
+PORTVERSION= 1.3
CATEGORIES= java
MASTER_SITES= # none
DISTFILES= # none
diff --git a/java/javavmwrapper/src/javavmwrapper.sh b/java/javavmwrapper/src/javavmwrapper.sh
index b82d3699afdf..16e9a235b9f5 100644
--- a/java/javavmwrapper/src/javavmwrapper.sh
+++ b/java/javavmwrapper/src/javavmwrapper.sh
@@ -19,6 +19,7 @@
#
# MAINTAINER= sobomax@FreeBSD.org
+ARGS="${*}"
PREFIX="%%PREFIX%%"
CONF="${PREFIX}/etc/javavms"
IAM=`basename "${0}"`
@@ -101,7 +102,7 @@ unset JAVA_HOME
# First check if JAVAVM environment variable is set
if [ x"${JAVAVM}" != x"" ]; then
- tryrunVM "${JAVAVM}" "${@}"
+ tryrunVM "${JAVAVM}" "${ARGS}"
fi
# Then try to make sure that ${CONF} exists
@@ -115,7 +116,7 @@ VMS=`/usr/bin/sed 's|#.*||' < "${CONF}" | uniq`
# Finally try to run one of the ${VMS}
for JAVAVM in ${VMS}; do
- tryrunVM "${JAVAVM}" "${@}";
+ tryrunVM "${JAVAVM}" "${ARGS}";
done
echo "${IAM}: error: no suitable JavaVMs found" >&2