From b58b32072a4c85f712338407c725eacece8deb54 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Sun, 10 Jul 2022 12:58:39 +0200 Subject: [PATCH] meson: fix warning in run_command Fixes this warning: ``` WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 ``` Signed-off-by: Stephan Lachnit --- data/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/meson.build b/data/meson.build index 4e49af3..6fb82d8 100644 --- a/data/meson.build +++ b/data/meson.build @@ -8,7 +8,8 @@ data_conf.set('GAMEMODE_VERSION', meson.project_version()) # Pull in the example config config_example = run_command( 'cat', - join_paths(meson.source_root(), 'example', 'gamemode.ini') + join_paths(meson.source_root(), 'example', 'gamemode.ini'), + check: true, ).stdout().strip() data_conf.set('GAMEMODE_EXAMPLE_CONFIG', config_example)