[MacPorts] #47707: clojure @1.6.0 clj script error
MacPorts
noreply at macports.org
Mon May 11 20:50:17 PDT 2015
#47707: clojure @1.6.0 clj script error
-----------------------------+--------------------------------
Reporter: mike.benfield@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: clojure
-----------------------------+--------------------------------
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}"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47707>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list