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:
@@ -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" });
|
||||
|
Reference in New Issue
Block a user