[gnome-builder] meson: set cwd to builddir
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] meson: set cwd to builddir
- Date: Tue, 22 Jan 2019 23:02:40 +0000 (UTC)
commit 59e77d368ee6334e04c51cd438f0fd6cafc23d60
Author: Christian Hergert <chergert redhat com>
Date: Tue Jan 22 15:02:24 2019 -0800
meson: set cwd to builddir
This was previously inherited by the pipeline, but now we create the
launcher ourselves so set it manually.
src/plugins/meson/gbp-meson-build-target-provider.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/meson/gbp-meson-build-target-provider.c
b/src/plugins/meson/gbp-meson-build-target-provider.c
index 56f395e32..e5db950e8 100644
--- a/src/plugins/meson/gbp-meson-build-target-provider.c
+++ b/src/plugins/meson/gbp-meson-build-target-provider.c
@@ -56,7 +56,10 @@ create_launcher (IdeContext *context,
}
if ((ret = ide_runtime_create_launcher (runtime, error)))
- ide_subprocess_launcher_set_flags (ret, G_SUBPROCESS_FLAGS_STDOUT_PIPE |
G_SUBPROCESS_FLAGS_STDERR_SILENCE);
+ {
+ ide_subprocess_launcher_set_flags (ret, G_SUBPROCESS_FLAGS_STDOUT_PIPE |
G_SUBPROCESS_FLAGS_STDERR_SILENCE);
+ ide_subprocess_launcher_set_cwd (ret, ide_pipeline_get_builddir (pipeline));
+ }
return g_steal_pointer (&ret);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]