Skip to content

Commit 8404933

Browse files
authored
Backport "Fix bisect script to emit bash compliant script code" to LTS (#19062)
Backports #18167 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 8536064 + 52656c8 commit 8404933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/scripts/bisect.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class CommitBisect(validationScript: File, shouldFail: Boolean, bootstrapped: Bo
235235
val scala3CompilerProject = if bootstrapped then "scala3-compiler-bootstrapped" else "scala3-compiler"
236236
val scala3Project = if bootstrapped then "scala3-bootstrapped" else "scala3"
237237
val validationCommandStatusModifier = if shouldFail then "! " else "" // invert the process status if failure was expected
238-
val bisectRunScript = s"""
238+
val bisectRunScript = raw"""
239239
|scalaVersion=$$(sbt "print ${scala3CompilerProject}/version" | tail -n1)
240240
|rm -r out
241241
|sbt "clean; ${scala3Project}/publishLocal"

0 commit comments

Comments
 (0)