From 2eefba005f7cd6d3cb16f231328de30c699755de Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 21 Sep 2013 19:27:24 -0500 Subject: Give this condition a more revealing name --- Library/Homebrew/formula.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Homebrew/formula.rb') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 6b14aba25..10e546d2f 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -88,6 +88,12 @@ class Formula end end + def default_build? + build = self.class.build.dup + build.concat(stable.options) + build.used_options.empty? + end + def url; active_spec.url; end def version; active_spec.version; end def mirrors; active_spec.mirrors; end -- cgit v1.2.3