Skip to content

Commit

Permalink
Fix bisect script to emit bash compliant script code
Browse files Browse the repository at this point in the history
[Cherry-picked 2bc9089]
  • Loading branch information
WojciechMazur authored and Kordyjan committed Nov 28, 2023
1 parent 053a17f commit 798dc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/scripts/bisect.scala
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class CommitBisect(validationScript: File, shouldFail: Boolean, bootstrapped: Bo
val scala3CompilerProject = if bootstrapped then "scala3-compiler-bootstrapped" else "scala3-compiler"
val scala3Project = if bootstrapped then "scala3-bootstrapped" else "scala3"
val validationCommandStatusModifier = if shouldFail then "! " else "" // invert the process status if failure was expected
val bisectRunScript = s"""
val bisectRunScript = raw"""
|scalaVersion=$$(sbt "print ${scala3CompilerProject}/version" | tail -n1)
|rm -r out
|sbt "clean; ${scala3Project}/publishLocal"
Expand Down

0 comments on commit 798dc2d

Please sign in to comment.