Bug 1523593 - Pass arguments to check_cmd_output as simple arguments rather than a list. Bustage fix from bug 1523153. r=Gijs a=Aryx

Reviewers: Gijs

Reviewed By: Gijs

Subscribers: Gijs

Bug #: 1523593

Differential Revision: https://phabricator.services.mozilla.com/D17932

--HG--
extra : rebase_source : 8e6098c9a53a2dbb8411c645b24cd045537ce42b
extra : amend_source : ef98541406c0bb72e920a1df6c28fe3272fcacb6
This commit is contained in:
Mark Banner 2019-01-29 15:42:05 +02:00
parent d81a4f309c
commit 3a4a57f3fa

View File

@ -60,7 +60,7 @@ def llvm_config_paths(host):
if host.kernel == 'Darwin':
brew = find_program('brew')
if brew:
brew_config = check_cmd_output([brew, 'config']).strip()
brew_config = check_cmd_output(brew, 'config').strip()
for line in brew_config.splitlines():
if line.startswith('HOMEBREW_PREFIX'):