Skip to content
Snippets Groups Projects
Commit 8b482d49 authored by Matt Mackall's avatar Matt Mackall
Browse files

setup: make Xcode 5.1 check less specific

Was failing on "5.1\n".
parent 5d048061
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment