aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
diff options
context:
space:
mode:
authorMike McQuaid2016-04-25 18:01:03 +0100
committerMike McQuaid2016-05-08 16:51:22 +0100
commite316cc9296079a212a72ab89c0c11e894b546ef9 (patch)
tree241c717bb4f20e5a999c1fa0ad97a794080fe9cc /Library/Homebrew/os/mac
parent8d995e961f549e555f405d2567235dab53f6baad (diff)
downloadbrew-e316cc9296079a212a72ab89c0c11e894b546ef9.tar.bz2
Make development tools code cross-platform.
Diffstat (limited to 'Library/Homebrew/os/mac')
-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 fc2762655..de812ae8b 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -120,7 +120,7 @@ module OS
# https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Xcode.md
"4.0"
else
- case (MacOS.clang_version.to_f * 10).to_i
+ case (DevelopmentTools.clang_version.to_f * 10).to_i
when 0 then "dunno"
when 1..14 then "3.2.2"
when 15 then "3.2.4"