Skip to content

Commit 5b229a5

Browse files
committed
Merge pull request #6 from retronym/topic/sbt-build-tweaks
Fix escaping in interpolated string for tool runner
2 parents 37585f9 + dbcedfb commit 5b229a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ lazy val generateVersionPropertiesFileImpl: Def.Initialize[Task[File]] = Def.tas
254254
def executeTool(tool: String) = {
255255
val cmd =
256256
if (System.getProperty("os.name").toLowerCase.contains("windows"))
257-
s"cmd.exe /c tools\$tool.bat -p"
257+
s"cmd.exe /c tools\\$tool.bat -p"
258258
else s"tools/$tool"
259259
Process(cmd).lines.head
260260
}

0 commit comments

Comments
 (0)