diff --git a/bin/lein.bat b/bin/lein.bat index a9b6004d6..02e1f425b 100644 --- a/bin/lein.bat +++ b/bin/lein.bat @@ -245,7 +245,7 @@ if "%1" == "trampoline" goto RUN_TRAMPOLINE else goto RUN_NORMAL :RUN_TRAMPOLINE set "TRAMPOLINE_FILE=%TEMP%\lein-trampoline-%RANDOM%.bat" -%JAVA_CMD% -client %JVM_OPTS% -Xbootclasspath/a:"%CLOJURE_JAR%" ^ +%JAVA_CMD% -client %LEIN_JVM_OPTS% -Xbootclasspath/a:"%CLOJURE_JAR%" ^ -Dleiningen.original.pwd="%ORIGINAL_PWD%" ^ -Dleiningen.trampoline-file="%TRAMPOLINE_FILE%" ^ -cp %CLASSPATH% %JLINE% clojure.main -e "(use 'leiningen.core)(-main)" NUL %* @@ -256,7 +256,7 @@ del "%TRAMPOLINE_FILE%" goto EOF :RUN_NORMAL -%JAVA_CMD% -client %JVM_OPTS% -Xbootclasspath/a:"%CLOJURE_JAR%" ^ +%JAVA_CMD% -client %LEIN_JVM_OPTS% -Xbootclasspath/a:"%CLOJURE_JAR%" ^ -Dleiningen.original.pwd="%ORIGINAL_PWD%" ^ -cp %CLASSPATH% %JLINE% clojure.main -e "(use 'leiningen.core)(-main)" NUL %*