aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-12-04 10:12:40 -0800
committerCharlie Sharpsteen2011-12-04 10:12:40 -0800
commitb40e9bc140d85381bc74fd8ae068b3094dda4614 (patch)
tree2462dcf177af051a930693891967f1a9ec72bd65
parent33dac2b59745bd58b2e3609e2dd27aaae32fc1fe (diff)
downloadhomebrew-b40e9bc140d85381bc74fd8ae068b3094dda4614.tar.bz2
formula.rb: Fix use of xcode_version in LLVM check
Should be `MacOS.xcode_version`. Fixes #8966.
-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"