diff options
| author | Mike McQuaid | 2016-04-25 18:01:03 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-05-08 16:51:22 +0100 |
| commit | e316cc9296079a212a72ab89c0c11e894b546ef9 (patch) | |
| tree | 241c717bb4f20e5a999c1fa0ad97a794080fe9cc /Library/Homebrew/os/mac | |
| parent | 8d995e961f549e555f405d2567235dab53f6baad (diff) | |
| download | brew-e316cc9296079a212a72ab89c0c11e894b546ef9.tar.bz2 | |
Make development tools code cross-platform.
Diffstat (limited to 'Library/Homebrew/os/mac')
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 2 |
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" |
