Mercurial > hg
changeset 21558:8b482d49563b
setup: make Xcode 5.1 check less specific
Was failing on "5.1\n".
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 27 May 2014 10:31:59 -0700 |
parents | 5d048061f222 |
children | 9a9de26ad99a |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Mon May 26 18:16:23 2014 -0700 +++ b/setup.py Tue May 27 10:31:59 2014 -0700 @@ -513,7 +513,7 @@ version = version[0] xcode4 = (version.startswith('Xcode') and StrictVersion(version.split()[1]) >= StrictVersion('4.0')) - xcode51 = re.match(r'^Xcode\s+5\.1\.', version) is not None + xcode51 = re.match(r'^Xcode\s+5\.1', version) is not None else: # xcodebuild returns empty on OS X Lion with XCode 4.3 not # installed, but instead with only command-line tools. Assume