[gnome-builder] flatpak: dont clear env for which



commit 0834567fd68048cc2231401b8011bc9e946daa7c
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 11 03:38:21 2017 -0800

    flatpak: dont clear env for which
    
    If the environment gets cleared, we wont find the proper path.

 plugins/flatpak/gbp-flatpak-application-addin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-application-addin.c b/plugins/flatpak/gbp-flatpak-application-addin.c
index 8e68613..34e32bd 100644
--- a/plugins/flatpak/gbp-flatpak-application-addin.c
+++ b/plugins/flatpak/gbp-flatpak-application-addin.c
@@ -1113,6 +1113,7 @@ gbp_flatpak_application_addin_check_sysdeps_async (GbpFlatpakApplicationAddin *s
   g_task_set_source_tag (task, gbp_flatpak_application_addin_check_sysdeps_async);
 
   launcher = ide_subprocess_launcher_new (0);
+  ide_subprocess_launcher_set_clear_env (launcher, FALSE);
   ide_subprocess_launcher_set_run_on_host (launcher, TRUE);
   ide_subprocess_launcher_push_argv (launcher, "which");
   ide_subprocess_launcher_push_argv (launcher, "flatpak-builder");


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