summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Sarajärvi <tony.sarajarvi@qt.io>2018-04-19 12:23:03 +0300
committerLiang Qi <liang.qi@qt.io>2018-04-29 13:20:48 +0000
commitd93baa38d0684f3990f2e86e494d6ae3f7b65e1c (patch)
tree86ea39e84c626e5bf33aed421319b88387b08dae
parentcd87f148dd9892c063dde7936b9081547758ee12 (diff)
downloadqt5-d93baa38d0684f3990f2e86e494d6ae3f7b65e1c.tar.gz
Fix powershell stylings in provisioning scripts
Change-Id: I946027047b9810ec1197b50394f157eb406434c2 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--coin/provisioning/common/windows/msvc-2013-update5.ps18
1 files changed, 4 insertions, 4 deletions
diff --git a/coin/provisioning/common/windows/msvc-2013-update5.ps1 b/coin/provisioning/common/windows/msvc-2013-update5.ps1
index f28d8f0b..1d717fe6 100644
--- a/coin/provisioning/common/windows/msvc-2013-update5.ps1
+++ b/coin/provisioning/common/windows/msvc-2013-update5.ps1
@@ -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