Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41144 - [clojure] launcher fails to pass args with spaces properly

Attached to Project: Community Packages
Opened by Antony Lee (anntzer) - Wednesday, 09 July 2014, 18:35 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 11 July 2014, 14:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The clojure shell launcher incorrectly splits command-line arguments that contain spaces.

Steps to reproduce:
$ echo '(println (first *command-line-args*))' > test.clj
$ clj -v test.clj 'foo bar' baz
.:/usr/share/clojure/clojure.jar
java -Dpid=23299 -cp .:/usr/share/clojure/clojure.jar clojure.main test.clj foo bar baz
foo

I'd expect instead
java -Dpid=23299 -cp .:/usr/share/clojure/clojure.jar clojure.main test.clj 'foo bar' baz
foo bar
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Friday, 11 July 2014, 14:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  Updated the launcher script.
Comment by Alexander F. Rødseth (xyproto) - Friday, 11 July 2014, 13:26 GMT
Hi, thanks for reporting. I will fix this.
Comment by Alexander F. Rødseth (xyproto) - Friday, 11 July 2014, 14:35 GMT
Found a solution. Updating the package. The new package will appear in [community] shortly.

Loading...