diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-09 17:51:15 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-09 20:09:22 -0800 |
| commit | 138bce34f27f2cb2cdeb50056b414d1cd80e73ec (patch) | |
| tree | 09ee120e7bc7f6725214fd7178975d6de596dab2 | |
| parent | 7266d4b95b15fb4b012f5ed9a67b45791a67ab17 (diff) | |
| download | vcpkg-138bce34f27f2cb2cdeb50056b414d1cd80e73ec.tar.gz vcpkg-138bce34f27f2cb2cdeb50056b414d1cd80e73ec.zip | |
Fix SHA-256 name
| -rw-r--r-- | scripts/fetchDependency.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1 index b884f3da8..f90a51290 100644 --- a/scripts/fetchDependency.ps1 +++ b/scripts/fetchDependency.ps1 @@ -31,7 +31,7 @@ function Get-Credential-Backwards-Compatible() } } -function Get-Hash-SHA265() +function Get-Hash-SHA256() { if (Test-Command -commandName 'Microsoft.PowerShell.Utility\Get-FileHash') { @@ -257,7 +257,7 @@ function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency) performDownload $Dependency $url $downloadsDir $downloadPath $downloadVersion $requiredVersion - $downloadedFileHash = Get-Hash-SHA265 $downloadPath + $downloadedFileHash = Get-Hash-SHA256 $downloadPath if ($expectedDownloadedFileHash -ne $downloadedFileHash) { Write-Host ("`nFile does not have expected hash:`n" + |
