浏览代码

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>
Stephan Lachnit 2 年之前
父节点
当前提交
b58b32072a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      data/meson.build

+ 2 - 1
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)