Opened 10 years ago
#47707 new defect
clojure @1.6.0 clj script error
Reported by: | mikebenfield | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | clojure |
Description
If $PWD has a space in it, the clj script will fail.
This is easily fixed by escaping the spaces as needed for Java's classpath:
Change this line
cp="${PWD}:${cljjar}"
to this one
cp="${PWD// /%20}:${cljjar}"
Maybe you really want the following; I don't know if $cljjar would ever have spaces in it
cp="${PWD// /%20}:${cljjar// /%20}"
Note: See
TracTickets for help on using
tickets.