meson: Fix warning about check kwarg
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 15 Jul 2022 00:12:10 +0000 (05:42 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 16 Jul 2022 06:16:17 +0000 (06:16 +0000)
This place was missed when we fixed this everywhere else.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2761>

subprojects/macos-bison-binary/meson.build

index 7a1680f..860308d 100644 (file)
@@ -11,11 +11,8 @@ if arch != 'x86_64'
   arch = 'x86_64'
 endif
 
-ret = run_command(py3, files('download-binary.py'), meson.project_version(), arch, tar_hash)
-if ret.returncode() != 0
-  message(ret.stdout())
-  error(ret.stderr())
-endif
+ret = run_command(py3, files('download-binary.py'), meson.project_version(), arch, tar_hash,
+    check: true)
 
 conf = configuration_data()
 conf.set('SRCDIR', meson.project_source_root())