mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-01 03:07:13 +08:00
Fix powershell stylings in provisioning scripts
Change-Id: I946027047b9810ec1197b50394f157eb406434c2 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -38,13 +38,13 @@ $version = "2013 Update 5 (KB2829760)"
|
||||
$package = "C:\Windows\Temp\vs12-kb2829760.exe"
|
||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VS2013.5.exe"
|
||||
|
||||
Write-Output "Fetching patch for Visual Studio $version..."
|
||||
Write-Host "Fetching patch for Visual Studio $version..."
|
||||
Copy-Item $url_cache $package
|
||||
|
||||
Write-Output "Installing Update 5 for Visual Studio $version..."
|
||||
Start-Process -FilePath $package -ArgumentList "/norestart /passive" -Wait
|
||||
Write-Host "Installing Update 5 for Visual Studio $version..."
|
||||
Run-Executable "$package" "/norestart /passive"
|
||||
|
||||
Write-Output "Removing $package ..."
|
||||
Write-Host "Removing $package ..."
|
||||
Remove-Item $package
|
||||
|
||||
Write-Output "Visual Studio = $version" >> ~\versions.txt
|
||||
|
||||
Reference in New Issue
Block a user