[gnome-builder] plugins/host: use login shell with host runtime



commit 0830cf06a2080a6e5a81ea21279f7e1f6486c8d5
Author: Christian Hergert <chergert redhat com>
Date:   Mon Sep 5 21:41:20 2022 -0700

    plugins/host: use login shell with host runtime
    
    This helps ensure that .bashrc is brought into place so that people who
    add CARGO_HOME/PATH alterations there may be included.

 src/plugins/host/gbp-host-runtime.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/host/gbp-host-runtime.c b/src/plugins/host/gbp-host-runtime.c
index 81cea9b1f..3ecb085c5 100644
--- a/src/plugins/host/gbp-host-runtime.c
+++ b/src/plugins/host/gbp-host-runtime.c
@@ -87,6 +87,7 @@ gbp_host_runtime_prepare_to_build (IdeRuntime    *runtime,
 
   ide_run_context_push_host (run_context);
   ide_run_context_add_minimal_environment (run_context);
+  ide_run_context_push_shell (run_context, TRUE);
 
   IDE_EXIT;
 }
@@ -108,6 +109,7 @@ gbp_host_runtime_prepare_to_run (IdeRuntime    *runtime,
 
   ide_run_context_push_host (run_context);
   ide_run_context_add_minimal_environment (run_context);
+  ide_run_context_push_shell (run_context, TRUE);
 
   config = ide_pipeline_get_config (pipeline);
   prefix = ide_config_get_prefix (config);


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