1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

build/windows: Forgot '-and' in previous commit

This commit is contained in:
Bruno Lopes
2025-09-12 07:51:36 -03:00
parent 11b81e25a4
commit be2e47114d

View File

@@ -88,7 +88,7 @@ function self_build ([string]$repo, [array]$branch, [array]$patches, [array]$opt
## Configure and/or build
if (-not (Test-Path _build-$env:MSYSTEM_PREFIX\build.ninja -Type Leaf))
{
if ((Test-Path meson.build -Type Leaf) -not (Test-Path CMakeLists.txt -Type Leaf))
if ((Test-Path meson.build -Type Leaf) -and -not (Test-Path CMakeLists.txt -Type Leaf))
{
meson setup _build-$env:MSYSTEM_PREFIX -Dprefix="$GIMP_PREFIX" $PKGCONF_RELOCATABLE_OPTION --buildtype=debugoptimized `
$(if ($branch -like '-*') { "$branch" } elseif ($patches -like '-*') { "$patches" } else { "$options" });