diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/--config.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb index 7876dfc53..fe4379395 100644 --- a/Library/Homebrew/cmd/--config.rb +++ b/Library/Homebrew/cmd/--config.rb @@ -18,8 +18,7 @@ module Homebrew extend self end def xcode_version - `xcodebuild -version 2>&1` =~ /Xcode (\d(\.\d)*)/ - $1 + @xcode_version || MacOS.xcode_version end def llvm_recommendation |
