Mercurial > hg
changeset 33119:176030f695ca
setup: fix runcmd() usage on darwin
Fix one invocation of runcmd() that was missed in the recent change to
make runcmd() also return the process exit status.
author | Adam Simpkins <simpkins@fb.com> |
---|---|
date | Wed, 28 Jun 2017 10:50:37 -0700 |
parents | cc9501fa5574 |
children | acfce52518c4 |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Tue Jun 27 21:16:08 2017 +0530 +++ b/setup.py Wed Jun 28 10:50:37 2017 -0700 @@ -814,7 +814,7 @@ setupversion = version.split('+', 1)[0] if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'): - version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines() + version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[1].splitlines() if version: version = version[0] if sys.version_info[0] == 3: