From eb348d9d88fdc02b6f2f6a9c5e97ee696a54ccf3 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 2 Jan 2025 10:18:28 +0100 Subject: [PATCH] Add missing qoutes for meson scriplet --- HaikuPorter/ShellScriptlets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HaikuPorter/ShellScriptlets.py b/HaikuPorter/ShellScriptlets.py index 7548793..d1064b9 100644 --- a/HaikuPorter/ShellScriptlets.py +++ b/HaikuPorter/ShellScriptlets.py @@ -353,10 +353,10 @@ def getShellVariableSetters(shellVariables): echo "error: invoking meson without --buildtype argument" echo "note: you probably want --buildtype=release or --buildtype=debugoptimized" exit 1 - elif [[ "$*" = *buildtype=release* ]] && [ -n $DEBUG_INFO_PACKAGES ]; then + elif [[ "$*" = *buildtype=release* ]] && [ -n "$DEBUG_INFO_PACKAGES" ]; then echo "error: invoking meson with --buildtype=release with debug info packages specified" exit 1 - elif [[ "$*" = *buildtype=debugoptimized* ]] && [ -z $DEBUG_INFO_PACKAGES ]; then + elif [[ "$*" = *buildtype=debugoptimized* ]] && [ -z "$DEBUG_INFO_PACKAGES" ]; then echo "error: invoking meson with --buildtype=debugoptimized without debug info packages specified" exit 1 fi