summaryrefslogtreecommitdiff
path: root/subprojects/gst-docs
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-01-05 02:07:59 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-01-09 18:12:47 +0530
commit1be6d6ccf59fa0be508fc6e971e03bf663cf2094 (patch)
treed2831939009d40d139baf2f03b3298833d31e2a3 /subprojects/gst-docs
parent945fd11907e93712f1f3a45f61f9420f59edab38 (diff)
downloadgstreamer-1be6d6ccf59fa0be508fc6e971e03bf663cf2094.tar.gz
meson: Add explicit check: kwarg to all run_command() calls
This is required since Meson 0.61.0, and causes a warning to be emitted otherwise: https://github.com/mesonbuild/meson/commit/2c079d855ed87488bdcc6c5c06f59abdb9b85b6c https://github.com/mesonbuild/meson/issues/9300 This exposed a bunch of places where we had broken run_command() calls, unnecessary run_command() calls, and places where check: true should be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507>
Diffstat (limited to 'subprojects/gst-docs')
-rw-r--r--subprojects/gst-docs/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/subprojects/gst-docs/meson.build b/subprojects/gst-docs/meson.build
index bcef479947..95efff66bd 100644
--- a/subprojects/gst-docs/meson.build
+++ b/subprojects/gst-docs/meson.build
@@ -9,7 +9,7 @@ if not hotdoc_p.found()
endif
hotdoc_req = '>= 0.12.2'
-hotdoc_version = run_command(hotdoc_p, '--version').stdout()
+hotdoc_version = run_command(hotdoc_p, '--version', check: false).stdout()
if not hotdoc_version.version_compare(hotdoc_req)
error('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
endif
@@ -49,6 +49,7 @@ with open(fname, 'r') as f:
python3,
'-c', read_file_contents,
fname,
+ check: false,
)
if cmdres.returncode() == 0
built_subprojects = cmdres.stdout().strip()