[gnome-builder] podman: check for any "podman" argv
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] podman: check for any "podman" argv
- Date: Thu, 2 May 2019 18:30:11 +0000 (UTC)
commit aa28ee84f6a9566904ab99e2ecb1e00653d39f39
Author: Christian Hergert <chergert redhat com>
Date: Thu May 2 11:24:47 2019 -0700
podman: check for any "podman" argv
This could get moved around if we need to dispatch through another system
such as "flatpak-spawn" or similar.
src/plugins/podman/gbp-podman-subprocess-launcher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/podman/gbp-podman-subprocess-launcher.c
b/src/plugins/podman/gbp-podman-subprocess-launcher.c
index 3c444b088..88ba6b785 100644
--- a/src/plugins/podman/gbp-podman-subprocess-launcher.c
+++ b/src/plugins/podman/gbp-podman-subprocess-launcher.c
@@ -71,7 +71,7 @@ gbp_podman_subprocess_launcher_spawn (IdeSubprocessLauncher *launcher,
argv = ide_subprocess_launcher_get_argv (launcher);
- if (!ide_str_equal0 (argv[0], "podman"))
+ if (!g_strv_contains (argv, "podman"))
{
const gchar * const *environ;
const gchar *cwd;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]