docker/windows: Fix 7zip extract command for MSYS2

-Wait is only needed for Start-Process. Also, explicitly extract the
tar file into C:\ -- don't assume the current directory is C:\
This commit is contained in:
Nirbheek Chauhan 2019-12-13 06:21:36 +05:30 committed by GStreamer Merge Bot
parent cfb15f47b8
commit 6267810f3a

View file

@ -30,7 +30,7 @@ Remove-Item C:\7z-x64.exe -Force
Write-Host "Installing MSYS2 into C:/msys64"
Invoke-WebRequest -Uri $msys2_url -OutFile C:\msys2-x86_64.tar.xz
C:\7zip\7z e C:\msys2-x86_64.tar.xz -Wait
C:\7zip\7z e C:\msys2-x86_64.tar.xz -o"C:\\"
C:\7zip\7z x C:\msys2-x86_64.tar -o"C:\\"
Remove-Item C:\msys2-x86_64.tar.xz -Force
Remove-Item C:\msys2-x86_64.tar -Force