From 94f84544c6da64b60d5ea2c48d2c4ee3533807c2 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sun, 4 Dec 2011 10:12:40 -0800 Subject: [PATCH] formula.rb: Fix use of xcode_version in LLVM check Should be `MacOS.xcode_version`. Fixes Homebrew/homebrew#8966. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 2609c13151..13587fb9a7 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"