Skip to content

Commit a3b2fb9

Browse files
committed
Special case BinaryCache path concatenation.
1 parent 86803aa commit a3b2fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,8 @@ function Fetch-Dependencies {
944944
}
945945
}
946946

947-
function Get-PinnedToolchainToolsDir() {
948-
$ToolchainsRoot = [IO.Path]::Combine("$BinaryCache", "toolchains", "$PinnedToolchain", "LocalApp", "Programs", "Swift", "Toolchains")
947+
function Get-PinnedToolchainTool() {
948+
$ToolchainsRoot = [IO.Path]::Combine("$BinaryCache\toolchains", "$PinnedToolchain", "LocalApp", "Programs", "Swift", "Toolchains")
949949
$VariantToolchainPath = [IO.Path]::Combine($ToolchainsRoot, "$(Get-PinnedToolchainVersion)+$PinnedToolchainVariant", "usr", "bin")
950950

951951
# NOTE: Add a workaround for the main snapshots that inadvertently used the

0 commit comments

Comments
 (0)