gnustep-config: config tools are lists, not strings

More programming errors exposed by not ignoring all exceptions.
pull/4790/head
Nirbheek Chauhan 6 years ago committed by Nirbheek Chauhan
parent 42b48cda98
commit 4bfe0a2568
  1. 4
      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:

Loading…
Cancel
Save