Skip to content

Commit

Permalink
fix batch script typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jupeti10 committed Nov 22, 2016
1 parent 21736be commit be0819f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ fi
batScriptExtraDefines += """if not "%JAVA_HOME%"=="" (""",
batScriptExtraDefines += """ if exist "%JAVA_HOME%\bin\jps.exe" set "JPS_CMD=%JAVA_HOME%\bin\jps.exe"""",
batScriptExtraDefines += """)""",
batScriptExtraDefines += """for /f "tokens=2" %%tjps in ('"%JPS_CMD%" 2^>^&1') do (""",
batScriptExtraDefines += """ if %%~tjps==Jps set JPS_OK=true""",
batScriptExtraDefines += """for /f "tokens=2" %%t in ('"%JPS_CMD%" 2^>^&1') do (""",
batScriptExtraDefines += """ if %%~t==Jps set JPS_OK=true""",
batScriptExtraDefines += """)""",
batScriptExtraDefines += """if not exist %WARP10_JAR% (""",
batScriptExtraDefines += """ "%_JAVACMD%" -cp "%APP_CLASSPATH%" DownloadBinaries "%WARP10_HOME%" "%WARP10_URL%"""",
Expand All @@ -189,9 +189,9 @@ fi
batScriptExtraDefines += """if %ERRORLEVEL% NEQ 0 (""",
batScriptExtraDefines += """echo Initializing leveldb""",
batScriptExtraDefines += """echo "Init leveldb database..." >> "%WARP10_HOME%\\logs\\nohup.out"""",
batScriptExtraDefines += """ "%_JAVACMD%" -cp "%WARP10_JAR%" "%WARP10_INITi%" "%WARP10_HOME%/data" >> "%WARP10_HOME%\\logs\\nohup.out" 2>&1""",
batScriptExtraDefines += """ "%_JAVACMD%" -cp "%WARP10_JAR%" "%WARP10_INIT%" "%WARP10_HOME%/data" >> "%WARP10_HOME%\\logs\\nohup.out" 2>&1""",
batScriptExtraDefines += """)""",
batScriptExtraDefines += """if "%JPS_OK"==true (""",
batScriptExtraDefines += """if "%JPS_OK%"=="true" (""",
batScriptExtraDefines += """"%JPS_CMD%" -l | "%FINDSTR_COMMAND%" %WARP10_CLASS%""",
batScriptExtraDefines += """if %ERRORLEVEL% gtr 0 (""",
batScriptExtraDefines += """ start "warp10" "%_JAVACMD%" !WARP10_JAVA_OPTS! -cp "!WARP10_CP!" !WARP10_CLASS! "!WARP10_CONFIG!" ^>^> "!WARP10_HOME!\\logs\\nohup.out" ^2^>^&^1""",
Expand Down

0 comments on commit be0819f

Please sign in to comment.