From f917661980384873f2a8f2cfdcf9e37605e3049b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 28 Mar 2022 10:16:51 +1000 Subject: [PATCH] meson: fix a meson warning run_command() wants a check kwarg now: 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: Peter Hutterer --- doc/user/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/user/meson.build b/doc/user/meson.build index a5e7737d..8f690e85 100644 --- a/doc/user/meson.build +++ b/doc/user/meson.build @@ -194,7 +194,8 @@ if yq.found() foreach distro : distributions yq_filter = '.distributions[] | select(.name == "@0@") | .packages | join(" ")'.format(distro) deps = run_command(yq, '-r', yq_filter, - meson.source_root() / '.gitlab-ci' / 'config.yml').stdout() + meson.source_root() / '.gitlab-ci' / 'config.yml', + check: true).stdout() dependencies_config.set('@0@_PACKAGES'.format(distro.to_upper()), deps) endforeach endif