From 7720b74a0096c1cfc9d646b66b05886e77bb7963 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Fri, 20 Mar 2020 15:43:25 +0300 Subject: [PATCH] Minor fix --- images/win/scripts/Installers/Install-Msys2.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/win/scripts/Installers/Install-Msys2.ps1 b/images/win/scripts/Installers/Install-Msys2.ps1 index 67f43f9cb..9656ecc06 100644 --- a/images/win/scripts/Installers/Install-Msys2.ps1 +++ b/images/win/scripts/Installers/Install-Msys2.ps1 @@ -35,10 +35,10 @@ Write-Host "Finished extraction" $env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin;$origPath" Write-Host "bash -c pacman-key --init" -Invoke-Expression "bash -c `"pacman-key --init`"" +bash.exe "pacman-key --init 2>&1" Write-Host "bash -c pacman-key --populate msys2" -Invoke-Expression "bash -c `"pacman-key --populate msys2`"" +bash.exe "pacman-key --populate msys2 2>&1" Write-Host "pacman --noconfirm -Syyuu" pacman.exe -Syyuu --noconfirm