diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-11-26 13:00:50 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-11-26 13:00:50 +0000 |
commit | 3d902715291dec6655a738bf5da18dec5024e838 (patch) | |
tree | 147c417405999e1b67c1e6e9d2be093f5940568e /java | |
parent | b18b8c855edad5313083f06e684feccb90be0ce1 (diff) | |
download | ports-3d902715291dec6655a738bf5da18dec5024e838.tar.gz ports-3d902715291dec6655a738bf5da18dec5024e838.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/javavmwrapper/Makefile | 2 | ||||
-rw-r--r-- | java/javavmwrapper/src/javavmwrapper.sh | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile index 19e023ed0476..2df0c9dc8af3 100644 --- a/java/javavmwrapper/Makefile +++ b/java/javavmwrapper/Makefile @@ -8,7 +8,7 @@ # PORTNAME= javavmwrapper -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= java MASTER_SITES= # none DISTFILES= # none diff --git a/java/javavmwrapper/src/javavmwrapper.sh b/java/javavmwrapper/src/javavmwrapper.sh index 16e9a235b9f5..b82d3699afdf 100644 --- a/java/javavmwrapper/src/javavmwrapper.sh +++ b/java/javavmwrapper/src/javavmwrapper.sh @@ -19,7 +19,6 @@ # # MAINTAINER= sobomax@FreeBSD.org -ARGS="${*}" PREFIX="%%PREFIX%%" CONF="${PREFIX}/etc/javavms" IAM=`basename "${0}"` @@ -102,7 +101,7 @@ unset JAVA_HOME # First check if JAVAVM environment variable is set if [ x"${JAVAVM}" != x"" ]; then - tryrunVM "${JAVAVM}" "${ARGS}" + tryrunVM "${JAVAVM}" "${@}" fi # Then try to make sure that ${CONF} exists @@ -116,7 +115,7 @@ VMS=`/usr/bin/sed 's|#.*||' < "${CONF}" | uniq` # Finally try to run one of the ${VMS} for JAVAVM in ${VMS}; do - tryrunVM "${JAVAVM}" "${ARGS}"; + tryrunVM "${JAVAVM}" "${@}"; done echo "${IAM}: error: no suitable JavaVMs found" >&2 |