Build: Fix shell script run under Windows OS; format fixes (sbt fix)

This commit is contained in:
Aljoscha Rittner
2022-03-21 19:25:47 +01:00
parent ee34bc76ed
commit 2744d86625
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,8 @@ object Cmd {
def exec(cmd: Seq[String], wd: Option[File]): Result = {
val command =
sys.props.get("os.name") match {
case Some(name) if name.toLowerCase.startsWith("windows") => Seq ("cmd", "/C") ++ cmd
case Some(name) if name.toLowerCase.startsWith("windows") =>
Seq("cmd", "/C") ++ cmd
case _ => cmd
}
val capt = new Capture