Navigation Menu

Skip to content

Commit

Permalink
Bug fix for leading spaces in JVM_OPTS technomancy#856
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceadams committed Nov 19, 2012
1 parent 24fd117 commit 7495e10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion leiningen-core/src/leiningen/core/eval.clj
Expand Up @@ -98,7 +98,8 @@

(defn ^:internal get-jvm-opts-from-env [env-opts]
(and (seq env-opts)
(reduce join-broken-arg [] (.split env-opts " "))))
(reduce join-broken-arg []
(.split (string/trim env-opts) " "))))

(defn- get-jvm-args
"Calculate command-line arguments for launching java subprocess."
Expand Down

0 comments on commit 7495e10

Please sign in to comment.