Skip to content

Commit e2cadbc

Browse files
committed
build.ps1: invoke swift rather than ...\swift.exe
Use the `Path` to resolve `swift` and use that to build and test packages rather than computing the absolute path to the swift driver driver.
1 parent 3e72be9 commit e2cadbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ function Build-SPMProject {
18001800
}
18011801
}
18021802

1803-
Invoke-Program "$($BuildPlatform.ToolchainInstallRoot)\usr\bin\swift.exe" $ActionName @Arguments @AdditionalArguments
1803+
Invoke-Program swift $ActionName @Arguments @AdditionalArguments
18041804
}
18051805

18061806
if (-not $ToBatch) {

0 commit comments

Comments
 (0)