Skip to content

Commit

Permalink
remove unnecessary quotes (#478)
Browse files Browse the repository at this point in the history
removed unnecessary quotes on line 34 and  line 86; these quotes make an execution in Windows 10 impossible;
  • Loading branch information
joestr authored and andsel committed May 21, 2019
1 parent 78ac8b4 commit d2cce3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distribution/src/main/scripts/moquette.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ goto end

rem Set JavaHome if it exists
if exist { "%JAVA_HOME%\bin\java" } (
set "JAVA="%JAVA_HOME%\bin\java"
set JAVA="%JAVA_HOME%\bin\java"
)

echo Using JAVA_HOME: "%JAVA_HOME%"
Expand Down Expand Up @@ -83,6 +83,6 @@ rem set JAVA_OPTS=%JAVA_OPTS% -XX:PrintFLSStatistics=1
rem set JAVA_OPTS=%JAVA_OPTS% -Xloggc:/var/log/moquette/gc.log
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseGCLogFileRotation
set JAVA_OPTS=%JAVA_OPTS% -XX:NumberOfGCLogFiles=10
set JAVA_OPTS=%JAVA_OPTS% -XX:GCLogFileSize=10M"
set JAVA_OPTS=%JAVA_OPTS% -XX:GCLogFileSize=10M

%JAVA% -server %JAVA_OPTS% %JAVA_OPTS_SCRIPT% -Dlog4j.configuration=file:%LOG_FILE% -Dmoquette.path=%MOQUETTE_PATH% -cp %MOQUETTE_HOME%\lib\* io.moquette.broker.Server

0 comments on commit d2cce3f

Please sign in to comment.