[windows] Improve MSYS2 installation (#3652)

This commit is contained in:
Leonid Lapshin
2021-06-29 11:59:03 +03:00
committed by GitHub
parent 24387bf8e6
commit de7775d901
4 changed files with 15 additions and 23 deletions

View File

@@ -79,13 +79,12 @@ foreach ($arch in $archs)
Write-Host "`n$dash Clean packages"
pacman.exe -Scc --noconfirm
Write-Host "`n$dash Installed msys2 packages"
pacman.exe -Q | grep -v ^mingw-w64-
$pkgs = pacman.exe -Q
foreach ($arch in $archs)
{
Write-Host "`n$dash Installed $arch packages"
pacman.exe -Q | grep ^${arch}-
$pkgs | grep ^${arch}-
}
$env:PATH = $origPath