Skip to content

Commit 23bbcbc

Browse files
authored
Merge pull request #4858 from dotty-staging/dotr-on-windows
Fix `dotr` on Windows: use the right path separator.
2 parents c2de29d + 921c06c commit 23bbcbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project/Build.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,8 @@ object Build {
598598
val dottyLib = jars("dotty-library")
599599

600600
def run(args: List[String]): Unit = {
601-
val fullArgs = insertClasspathInArgs(args, s".:$dottyLib:$scalaLib")
601+
val sep = File.pathSeparator
602+
val fullArgs = insertClasspathInArgs(args, s".$sep$dottyLib$sep$scalaLib")
602603
runProcess("java" :: fullArgs, wait = true)
603604
}
604605

0 commit comments

Comments
 (0)