mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-02 17:32:21 +08:00
windows provisioning: automatically choose the right hash algorithm
...based on the length of the given hash. Additionally use -ine for string comparison, which explicitly does case-insensitive comparison. That is what the function needs, previously it was done implicitly by -ne. And remove MD5, it's not used anywhere. Pick-to: 6.11 6.10 6.8 6.5 Change-Id: Ib4303737e5e1d743dd0be1a8f829be9a0db2bc04 Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
This commit is contained in:
@@ -38,7 +38,7 @@ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/node-v$version-win-
|
||||
|
||||
Write-Host "Installing Node.js"
|
||||
Download $externalUrl $internalUrl $package
|
||||
Verify-Checksum $package $sha256 "sha256"
|
||||
Verify-Checksum $package $sha256
|
||||
Extract-7Zip $package $targetFolder
|
||||
Add-Path $installFolder
|
||||
Remove $package
|
||||
|
||||
Reference in New Issue
Block a user