We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc40aca commit f11c717Copy full SHA for f11c717
project/Build.scala
@@ -1087,8 +1087,9 @@ object Build {
1087
case Seq(cmd @ ("clone" | "overwrite"), files*) =>
1088
log.info("Cloning scala-library sources: " + files.mkString(", "))
1089
for (file <- files) {
1090
- val referenceStdlibPaths = reference / file
1091
- val destination = srcDir / file
+ val fileRootedAtInLibraryFolder = file.stripPrefix("src/library/")
+ val referenceStdlibPaths = reference / fileRootedAtInLibraryFolder
1092
+ val destination = srcDir / fileRootedAtInLibraryFolder
1093
if (!referenceStdlibPaths.exists) {
1094
log.error("Not found " + referenceStdlibPaths)
1095
} else if (destination.exists && cmd == "clone") {
0 commit comments