From 4b05ecb8f7506e4e4d62532a0a3500c2b5711b38 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 2 Feb 2022 15:04:42 +0100 Subject: [PATCH] build: explicitly set check arg in run_command() Fixes the following 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: Simon Ser --- doc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/meson.build b/doc/meson.build index f74b6b1b..57c71802 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -18,7 +18,7 @@ if vers.version_compare('< 2.26.0') endif manpage_xsl = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' -cmd = run_command(xsltproc, '--nonet', manpage_xsl) +cmd = run_command(xsltproc, '--nonet', manpage_xsl, check: false) if cmd.returncode() != 0 error('The style sheet for man pages providing "@0@" was not found.'.format(manpage_xsl)) endif