Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use LEIN_JVM_OPTS in lein.bat.

  • Loading branch information...
commit 64343d221f874658c64993ca018d484a271ff5ee 1 parent 69bdaa3
Matjaz Gregoric mtyaka authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/lein.bat
4 bin/lein.bat
View
@@ -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 %*
Please sign in to comment.
Something went wrong with that request. Please try again.