[gnome-builder] jhbuild: we need access to HOME and others for proper execution
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] jhbuild: we need access to HOME and others for proper execution
- Date: Wed, 14 Sep 2016 08:23:34 +0000 (UTC)
commit d3fd1c3b72ef8c8d0527c20ad461e28227026c29
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 14 00:41:44 2016 -0700
jhbuild: we need access to HOME and others for proper execution
jhbuild fails without some of our variables like $HOME.
plugins/jhbuild/jhbuild_plugin.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/jhbuild/jhbuild_plugin.py b/plugins/jhbuild/jhbuild_plugin.py
index 21c3567..5c1b4fc 100644
--- a/plugins/jhbuild/jhbuild_plugin.py
+++ b/plugins/jhbuild/jhbuild_plugin.py
@@ -61,10 +61,13 @@ class JhbuildRuntime(Ide.Runtime):
def do_create_launcher(self):
try:
launcher = Ide.Runtime.do_create_launcher(self)
+
launcher.push_argv(self.get_jhbuild_path())
launcher.push_argv('run')
+
launcher.set_run_on_host(True)
- launcher.set_clear_env(True)
+ launcher.set_clear_env(False)
+
return launcher
except GLib.Error:
return None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]