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 <stephanlachnit@debian.org>
This commit is contained in:
Stephan Lachnit 2022-07-10 12:58:39 +02:00 committed by afayaz-feral
parent f50e7fffe7
commit b58b32072a

View File

@ -8,7 +8,8 @@ data_conf.set('GAMEMODE_VERSION', meson.project_version())
# Pull in the example config # Pull in the example config
config_example = run_command( config_example = run_command(
'cat', 'cat',
join_paths(meson.source_root(), 'example', 'gamemode.ini') join_paths(meson.source_root(), 'example', 'gamemode.ini'),
check: true,
).stdout().strip() ).stdout().strip()
data_conf.set('GAMEMODE_EXAMPLE_CONFIG', config_example) data_conf.set('GAMEMODE_EXAMPLE_CONFIG', config_example)