@@ -623,13 +623,12 @@ object Build {
623623 val args : List [String ] = spaceDelimited(" <arg>" ).parsed.toList
624624 val attList = (dependencyClasspath in Runtime ).value
625625 val jars = packageAll.value
626- import File .{ pathSeparator => sep }
627626
628627 val scalaLib = findLib(attList, " scala-library" )
629628 val dottyLib = jars(" dotty-library" )
630629
631630 def run (args : List [String ]): Unit = {
632- val fullArgs = insertClasspathInArgs(args, List (" ." , dottyLib, scalaLib).mkString(sep ))
631+ val fullArgs = insertClasspathInArgs(args, List (" ." , dottyLib, scalaLib).mkString(File .pathSeparator ))
633632 runProcess(" java" :: fullArgs, wait = true )
634633 }
635634
@@ -645,7 +644,7 @@ object Build {
645644 val asm = findLib(attList, " scala-asm" )
646645 val dottyCompiler = jars(" dotty-compiler" )
647646 val dottyInterfaces = jars(" dotty-interfaces" )
648- run(insertClasspathInArgs(args1, List (dottyCompiler, dottyInterfaces, asm).mkString(sep )))
647+ run(insertClasspathInArgs(args1, List (dottyCompiler, dottyInterfaces, asm).mkString(File .pathSeparator )))
649648 } else run(args)
650649 },
651650
0 commit comments