Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fix for leading spaces in JVM_OPTS #856

  • Loading branch information...
commit 7495e10103469de5ac940b11cf0747b2ab299324 1 parent 24fd117
Bruce Adams bruceadams authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  leiningen-core/src/leiningen/core/eval.clj
3  leiningen-core/src/leiningen/core/eval.clj
View
@@ -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."
Please sign in to comment.
Something went wrong with that request. Please try again.