diff --git a/images/win/scripts/Installers/Install-Msys2.ps1 b/images/win/scripts/Installers/Install-Msys2.ps1 index 4fe380cf..9f57ea23 100644 --- a/images/win/scripts/Installers/Install-Msys2.ps1 +++ b/images/win/scripts/Installers/Install-Msys2.ps1 @@ -33,10 +33,10 @@ Write-Host "Finished extraction" $env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin;$origPath" Write-Host "bash pacman-key --init" -bash.exe "pacman-key --init 2>&1" +bash.exe -c "pacman-key --init 2>&1" Write-Host "bash pacman-key --populate msys2" -bash.exe "pacman-key --populate msys2 2>&1" +bash.exe -c "pacman-key --populate msys2 2>&1" Write-Host "pacman --noconfirm -Syyuu" pacman.exe -Syyuu --noconfirm