diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-12-03 22:43:07 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-12-03 22:43:07 +0800 |
commit | 6bc46aa6e7c294d841f65c4b7a662e7ec988400c (patch) | |
tree | d201563c6d06c1c38be5f84c6b11f295ef2901d9 /java | |
parent | 1413a5c6d0fb3c44d2e65fec7130ce39924ddcb1 (diff) | |
download | freebsd-ports-gnome-6bc46aa6e7c294d841f65c4b7a662e7ec988400c.tar.gz freebsd-ports-gnome-6bc46aa6e7c294d841f65c4b7a662e7ec988400c.tar.zst freebsd-ports-gnome-6bc46aa6e7c294d841f65c4b7a662e7ec988400c.zip |
Revert previous fix - it was not properly thought out.
Submitted by: ted@tednet.nl (Ted Lindgreen)
Diffstat (limited to 'java')
-rw-r--r-- | java/javavmwrapper/Makefile | 2 | ||||
-rw-r--r-- | java/javavmwrapper/src/javavmwrapper.sh | 5 |
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 |