Add usr\bin\ to path on windows

Task-number: COIN-1060
Change-Id: I2ab63617f417b92a4d858c5da301185693e799f3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
This commit is contained in:
Casimir Saastamoinen
2023-09-05 10:39:25 +03:00
parent 1fd6fb3565
commit 50aa0031a4
3 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
if (-not ($env:PATH -split ';' | Where-Object { $_ -eq "C:\Program Files\Git\usr\bin" })) {
& setx PATH "C:\Program Files\Git\usr\bin"
Write-Host "Added C:\Program Files\Git\usr\bin to PATH."
}

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\bin_to_path.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\bin_to_path.ps1"