aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-09-28 12:56:40 -0700
committerGitHub <noreply@github.com>2018-09-28 12:56:40 -0700
commitca4c8de09fdf5081a9fbed8f9b128c569b5a9971 (patch)
tree9c45b67e15206aa16047ead7839fbc5630280878 /mesonbuild/scripts
parent4a8210e81c2651e1ee19041e3eabd3144d08c9f8 (diff)
parentfe981b0231e6ad26633277f2b656e886ffd1ea7a (diff)
downloadmeson-ca4c8de09fdf5081a9fbed8f9b128c569b5a9971.zip
meson-ca4c8de09fdf5081a9fbed8f9b128c569b5a9971.tar.gz
meson-ca4c8de09fdf5081a9fbed8f9b128c569b5a9971.tar.bz2
Merge pull request #4261 from rossburton/cross
WIP RFC gnome.py cross improvements
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/gtkdochelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py
index 04b4deb..01ced5b 100644
--- a/mesonbuild/scripts/gtkdochelper.py
+++ b/mesonbuild/scripts/gtkdochelper.py
@@ -66,7 +66,7 @@ def gtkdoc_run_check(cmd, cwd, library_paths=None):
# This preserves the order of messages.
p, out = Popen_safe(cmd, cwd=cwd, env=env, stderr=subprocess.STDOUT)[0:2]
if p.returncode != 0:
- err_msg = ["{!r} failed with status {:d}".format(cmd[0], p.returncode)]
+ err_msg = ["{!r} failed with status {:d}".format(cmd, p.returncode)]
if out:
err_msg.append(out)
raise MesonException('\n'.join(err_msg))