aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-02-21 21:39:32 +0000
committerMike McQuaid2013-02-21 21:40:15 +0000
commitc0793d5296c0fa69312cc2a57dbd0feec74e452d (patch)
tree5575556b89bf62a3924e5b848c2392db9e718309 /Library/Homebrew/formula.rb
parent0df46786f6aec97cc12a527f3081e8be74cd9a6d (diff)
downloadhomebrew-c0793d5296c0fa69312cc2a57dbd0feec74e452d.tar.bz2
Only fails_with compiler version for developers.
Actually works properly now. This reverts commit a0e56345ea55f7ee3c41d6bf13f9cfb3af635323.
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 7b8877618..6f8fc91db 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -202,7 +202,8 @@ class Formula
cc = Compiler.new(cc) unless cc.is_a? Compiler
return self.class.cc_failures.find do |failure|
next unless failure.compiler == cc.name
- failure.build.zero? or failure.build >= cc.build
+ failure.build.zero? or \
+ (failure.build >= cc.build or not ARGV.homebrew_developer?)
end
end