mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
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:
4
coin/provisioning/common/windows/bin_to_path.ps1
Normal file
4
coin/provisioning/common/windows/bin_to_path.ps1
Normal 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."
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\bin_to_path.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\bin_to_path.ps1"
|
||||
Reference in New Issue
Block a user