Browse files

Merge pull request #857 from bruceadams/master

Bug fix for leading spaces in JVM_OPTS #856
  • Loading branch information...
2 parents 24fd117 + 7495e10 commit 37aee43f47686829bd132f85bd90eca1af2b820b Michael Klishin committed Nov 19, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 leiningen-core/src/leiningen/core/eval.clj
View
3 leiningen-core/src/leiningen/core/eval.clj
@@ -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."

0 comments on commit 37aee43

Please sign in to comment.