[gnome-builder] meson: handle empty strings for config-opts
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] meson: handle empty strings for config-opts
- Date: Sun, 22 Oct 2017 07:35:33 +0000 (UTC)
commit 5f5c400ef1227307199e83b35df83f42f4e2b155
Author: Christian Hergert <chergert redhat com>
Date: Sun Oct 22 00:35:09 2017 -0700
meson: handle empty strings for config-opts
src/plugins/meson/gbp-meson-pipeline-addin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/meson/gbp-meson-pipeline-addin.c b/src/plugins/meson/gbp-meson-pipeline-addin.c
index d1f748b..0a8636a 100644
--- a/src/plugins/meson/gbp-meson-pipeline-addin.c
+++ b/src/plugins/meson/gbp-meson-pipeline-addin.c
@@ -119,7 +119,7 @@ gbp_meson_pipeline_addin_load (IdeBuildPipelineAddin *addin,
ide_subprocess_launcher_push_argv (config_launcher, "--prefix");
ide_subprocess_launcher_push_argv (config_launcher, prefix);
- if (config_opts != NULL)
+ if (!ide_str_empty0 (config_opts))
{
g_auto(GStrv) argv = NULL;
gint argc;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]