Skip to content

Commit a61ac6b

Browse files
committed
build.ps1: rename Export-Toolchain to Extract-Toolchain
Rename the function to match the other `Extract` functions.
1 parent 9d7d3a1 commit a61ac6b

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
@@ -1022,7 +1022,7 @@ function Get-Dependencies {
10221022
Expand-Archive -Path $source -DestinationPath $destination -Force
10231023
}
10241024

1025-
function Export-Toolchain {
1025+
function Extract-Toolchain {
10261026
param
10271027
(
10281028
[string]$InstallerExeName,
@@ -1091,7 +1091,7 @@ function Get-Dependencies {
10911091

10921092
# TODO(compnerd) stamp/validate that we need to re-extract
10931093
New-Item -ItemType Directory -ErrorAction Ignore $BinaryCache\toolchains | Out-Null
1094-
Export-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain
1094+
Extract-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain
10951095

10961096
function Get-KnownPython([string] $ArchName) {
10971097
if (-not $KnownPythons.ContainsKey($PythonVersion)) {

0 commit comments

Comments
 (0)