aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-12-04 10:12:40 -0800
committerCharlie Sharpsteen2011-12-04 10:12:40 -0800
commit94f84544c6da64b60d5ea2c48d2c4ee3533807c2 (patch)
tree14b60ecf2a4c97ae22303a616e71f7bddadeef99 /Library/Homebrew
parentec7178061207cfc66f17f0137e41297a1a856de5 (diff)
downloadbrew-94f84544c6da64b60d5ea2c48d2c4ee3533807c2.tar.bz2
formula.rb: Fix use of xcode_version in LLVM check
Should be `MacOS.xcode_version`. Fixes Homebrew/homebrew#8966.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 2609c1315..13587fb9a 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -351,7 +351,7 @@ class Formula
that we can update the formula accordingly. Thanks!
EOS
puts
- if xcode_version < "4.2"
+ if MacOS.xcode_version < "4.2"
puts "If it doesn't work you can: brew install --use-gcc"
else
puts "If it doesn't work you can try: brew install --use-clang"