summaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/msys.ps1
blob: f004bb493e44a632b37753ba87f3566fae90f2cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
. "$PSScriptRoot\helpers.ps1"

# This script will install msys which is needed for configuring openssl for Android

$version = "1.0.11"
$url = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msys-$version.7z"

$zip = Get-DownloadLocation ("msys-$version.7z")
$sha1 = "22cd76f1263db8c72727a9537228c481ff33c285"
$destination = "C:\msys"

Download $url $url $zip
Verify-Checksum $zip $sha1
C:\Utils\sevenzip\7z.exe x $zip -oC:\
Set-EnvironmentVariable "MSYS_PATH" "$destination\\1.0\\bin"
Write-Output "Msys = $version" >> ~/versions.txt