File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ object Build {
453453 def findLib (attList : Seq [Attributed [File ]], name : String ) = attList
454454 .map(_.data.getAbsolutePath)
455455 .find(_.contains(name))
456- .toList.mkString(" : " )
456+ .toList.mkString(java.io. File .pathSeparatorChar.toString )
457457
458458 // Settings shared between dotty-compiler and dotty-compiler-bootstrapped
459459 lazy val commonDottyCompilerSettings = Seq (
@@ -682,13 +682,13 @@ object Build {
682682 else if (debugFromTasty) " dotty.tools.dotc.fromtasty.Debug"
683683 else " dotty.tools.dotc.Main"
684684
685- var extraClasspath = s " $scalaLib: $dottyLib"
686- if ((decompile || printTasty) && ! args.contains(" -classpath" )) extraClasspath += " : ."
685+ var extraClasspath = s " $scalaLib${java.io. File .pathSeparator} $dottyLib"
686+ if ((decompile || printTasty) && ! args.contains(" -classpath" )) extraClasspath += s " ${java.io. File .pathSeparator} . "
687687 if (args0.contains(" -with-compiler" )) {
688688 if (! isDotty.value) {
689689 throw new MessageOnlyException (" -with-compiler can only be used with a bootstrapped compiler" )
690690 }
691- extraClasspath += s " : $dottyCompiler"
691+ extraClasspath += s " ${java.io. File .pathSeparator} $dottyCompiler"
692692 }
693693
694694 val fullArgs = main :: insertClasspathInArgs(args, extraClasspath)
You can’t perform that action at this time.
0 commit comments