aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 2941f3d43..e6b236899 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -178,7 +178,7 @@ module OS
else
version = `/usr/bin/clang --version`
end
- version = version[%r{clang-(\d+\.\d+\.\d+)}, 1] || "0"
+ version = version[%r{clang-(\d+\.\d+\.\d+(\.\d+)?)}, 1] || "0"
version < latest_version
end