[gnome-builder] flatpak: unfilter --own-name when running flatpak project



commit cdcb432712fbad63fd84c4a86532c4a9780f8ef1
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 19 12:32:30 2018 -0800

    flatpak: unfilter --own-name when running flatpak project
    
    This is needed in some cases, such as polari. Hopefully this doesn't become
    whack-a-mole as new options are added.
    
    Fixes #411

 src/plugins/flatpak/gbp-flatpak-runner.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-runner.c b/src/plugins/flatpak/gbp-flatpak-runner.c
index 652d48b1e..a7dfc0d6b 100644
--- a/src/plugins/flatpak/gbp-flatpak-runner.c
+++ b/src/plugins/flatpak/gbp-flatpak-runner.c
@@ -96,6 +96,7 @@ gbp_flatpak_runner_fixup_launcher (IdeRunner             *runner,
                   g_str_has_prefix (arg, "--filesystem") ||
                   g_str_has_prefix (arg, "--env") ||
                   g_str_has_prefix (arg, "--system-talk") ||
+                  g_str_has_prefix (arg, "--own-name") ||
                   g_str_has_prefix (arg, "--talk-name"))
                 ide_subprocess_launcher_insert_argv (launcher, i++, arg);
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]