Skip to content

Commit 3a69a68

Browse files
committed
Use managed GNUstep root for theme builds
1 parent b3a3993 commit 3a69a68

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

packaging/scripts/ensure-windows-theme-inputs.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
[CmdletBinding()]
22
param(
33
[string]$ThemeWorkspace,
4-
[string]$MsysRoot = $(if (-not [string]::IsNullOrWhiteSpace($env:MSYS2_LOCATION)) { $env:MSYS2_LOCATION } else { "C:\msys64" })
4+
[string]$MsysRoot = $(if (-not [string]::IsNullOrWhiteSpace($env:GP_GNUSTEP_CLI_ROOT)) {
5+
$env:GP_GNUSTEP_CLI_ROOT
6+
} elseif (-not [string]::IsNullOrWhiteSpace($env:GNUSTEP_CLI_ROOT)) {
7+
$env:GNUSTEP_CLI_ROOT
8+
} elseif (-not [string]::IsNullOrWhiteSpace($env:MSYS2_LOCATION)) {
9+
$env:MSYS2_LOCATION
10+
} else {
11+
"C:\msys64"
12+
})
513
)
614

715
Set-StrictMode -Version Latest

0 commit comments

Comments
 (0)