Permalink
Browse files

Bug fix for leading spaces in JVM_OPTS #856

  • Loading branch information...
1 parent 24fd117 commit 7495e10103469de5ac940b11cf0747b2ab299324 @bruceadams bruceadams committed Nov 19, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 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 7495e10

Please sign in to comment.