diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-01-31 17:38:01 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-01-31 20:12:21 +0530 |
commit | 4bfe0a25681f1abb8710aba1a89220dc328ee589 (patch) | |
tree | 2680fdc24e07524b083acd8f772f4e96bf8768e5 /mesonbuild/dependencies/ui.py | |
parent | 42b48cda9848758a68711b731441a0074874ba6b (diff) | |
download | meson-4bfe0a25681f1abb8710aba1a89220dc328ee589.zip meson-4bfe0a25681f1abb8710aba1a89220dc328ee589.tar.gz meson-4bfe0a25681f1abb8710aba1a89220dc328ee589.tar.bz2 |
gnustep-config: config tools are lists, not strings
More programming errors exposed by not ignoring all exceptions.
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r-- | mesonbuild/dependencies/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index e23124c..dbdba9b 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -91,9 +91,9 @@ class GnuStepDependency(ConfigToolDependency): 'link_args')) def find_config(self, versions=None): - tool = self.tools[0] + tool = [self.tools[0]] try: - p, out = Popen_safe([tool, '--help'])[:2] + p, out = Popen_safe(tool + ['--help'])[:2] except (FileNotFoundError, PermissionError): return (None, None) if p.returncode != 0: |