We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a69a68 commit 82e5d57Copy full SHA for 82e5d57
1 file changed
scripts/windows/build-from-powershell.ps1
@@ -5,7 +5,15 @@ param(
5
[string]$RunTarget = "TableRenderDemo.md",
6
[string]$StageDir = "dist/packaging/windows/stage",
7
[string]$RepoRoot = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path,
8
- [string]$MsysRoot = $(if (-not [string]::IsNullOrWhiteSpace($env:MSYS2_LOCATION)) { $env:MSYS2_LOCATION } else { "C:\msys64" })
+ [string]$MsysRoot = $(if (-not [string]::IsNullOrWhiteSpace($env:GP_GNUSTEP_CLI_ROOT)) {
9
+ $env:GP_GNUSTEP_CLI_ROOT
10
+ } elseif (-not [string]::IsNullOrWhiteSpace($env:GNUSTEP_CLI_ROOT)) {
11
+ $env:GNUSTEP_CLI_ROOT
12
+ } elseif (-not [string]::IsNullOrWhiteSpace($env:MSYS2_LOCATION)) {
13
+ $env:MSYS2_LOCATION
14
+ } else {
15
+ "C:\msys64"
16
+ })
17
)
18
19
Set-StrictMode -Version Latest
0 commit comments