Skip to content

Commit 52656c8

Browse files
WojciechMazurKordyjan
authored andcommitted
Fix bisect script to emit bash compliant script code
[Cherry-picked 2bc9089]
1 parent 0147f07 commit 52656c8

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)