Skip to content

Commit 7fa3c98

Browse files
committed
Use Toolchain.which to find swift-build-tool
1 parent d19b95b commit 7fa3c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Multitool/build().swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private func swift_build_tool() -> String {
2323
} else if let path = try? Path.join(exepath, "..", "swift-build-tool").abspath() where path.isFile {
2424
return path
2525
} else {
26-
return "swift-build-tool"
26+
return Toolchain.which("swift-build-tool")
2727
}
2828
}
2929

0 commit comments

Comments
 (0)