Permalink
Browse files

Fix shell script for Windows (thanks to @kevinpeno). Closes #1083.

  • Loading branch information...
1 parent 939fcab commit 95e6dc5f3a4a38cb6ba5bfc7c2e55f6d0cea8af8 @indrajitr indrajitr committed Sep 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 liftsh.cmd
View
6 liftsh.cmd
@@ -1,13 +1,13 @@
@echo off
@REM Internal options, always specified
-set INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xss8M -Xmx1G -noverify -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512M"
+set INTERNAL_OPTS=-Dfile.encoding=UTF-8 -Xss8M -Xmx1G -noverify -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512M
@REM Default options, if nothing is specified
-set DEFAULT_OPTS="-Dsbt.intransitive=true"
+set DEFAULT_OPTS=-Dsbt.intransitive=true
if "%LIFTSH_OPTS%"=="" (
- set LIFTSH_OPTS=DEFAULT_OPTS
+ set LIFTSH_OPTS=%DEFAULT_OPTS%
)
@REM Call with INTERNAL_OPTS followed by LIFTSH_OPTS (or DEFAULT_OPTS). java aways takes the last option when duplicate.

0 comments on commit 95e6dc5

Please sign in to comment.