Skip to content

Commit f666118

Browse files
authored
Merge pull request #311 from Begasus/meson
Add missing qoutes for meson scriplet
2 parents cd87dc3 + eb348d9 commit f666118

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HaikuPorter/ShellScriptlets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ def getShellVariableSetters(shellVariables):
353353
echo "error: invoking meson without --buildtype argument"
354354
echo "note: you probably want --buildtype=release or --buildtype=debugoptimized"
355355
exit 1
356-
elif [[ "$*" = *buildtype=release* ]] && [ -n $DEBUG_INFO_PACKAGES ]; then
356+
elif [[ "$*" = *buildtype=release* ]] && [ -n "$DEBUG_INFO_PACKAGES" ]; then
357357
echo "error: invoking meson with --buildtype=release with debug info packages specified"
358358
exit 1
359-
elif [[ "$*" = *buildtype=debugoptimized* ]] && [ -z $DEBUG_INFO_PACKAGES ]; then
359+
elif [[ "$*" = *buildtype=debugoptimized* ]] && [ -z "$DEBUG_INFO_PACKAGES" ]; then
360360
echo "error: invoking meson with --buildtype=debugoptimized without debug info packages specified"
361361
exit 1
362362
fi

0 commit comments

Comments
 (0)