Package: coco-java Version: 20110419-1 Severity: normal Tags: patch --- Please enter the report below this line. ---
The bourne-shell script /usr/bin/cocoj forwards its parameters via $*, but it should use "$@". Therefore it fails when path or filename parameters to Coco.jar contain spaces. --- System information. --- Architecture: amd64 Kernel: Linux 3.0.0-1-amd64 Debian Release: wheezy/sid 500 unstable ftp.at.debian.org 500 testing ftp.at.debian.org 500 stable deb.opera.com --- Package information. --- Depends (Version) | Installed ============================-+-=========== openjdk-6-jre | 6b23~pre11-1 Package's Recommends field is empty. Package's Suggests field is empty.
--- usr/bin/cocoj.old 2011-04-19 17:14:28.000000000 +0200 +++ usr/bin/cocoj 2011-10-31 23:01:20.132815728 +0100 @@ -1,3 +1,3 @@ #!/bin/sh -java -jar /usr/share/coco-java/Coco.jar $* +java -jar /usr/share/coco-java/Coco.jar "$@"