fix: least java version check for syncing "preloaded"

This commit is contained in:
tksk 2017-04-28 02:26:49 +09:00
parent c35a487c9e
commit ef8011df0d
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ exit /B 0
:sync_preloaded
set PRELOAD_SBT_JAR="%UserProfile%\.sbt\preloaded\org.scala-sbt\sbt\%INIT_SBT_VERSION%\jars\sbt.jar"
if /I "%JAVA_VERSION%" GEQ "8" (
if /I "%JAVA_VERSION%" GEQ "1.8" (
where robocopy >nul 2>nul
if %ERRORLEVEL% equ 0 (
echo %PRELOAD_SBT_JAR%