Package: java-wrappers
Version: 0.1.25
Severity: important
Tags: patch

Dear Maintainer,

The run_jar() function in /usr/lib/java-wrappers/java-wrappers.sh
contains the following lines:

   if locate_jar $1; then
        shift
        run_java -jar "$@"
    else
        java_fail "Unable to find jar $1 in $JAVA_JARPATH"
    fi

If locate_jar() finds the specified JAR file, it places the path into
$found_jar, but its result is not used.

Replacing

        run_java -jar "$@"

with

        run_java -jar "$found_jar" "$@"

should do the trick.

Cheers,
-Hilko


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to