diff options
| author | Jack Nagel | 2013-09-21 19:27:24 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-09-21 19:27:24 -0500 | 
| commit | c6de3f78948dcd33a8ace236b60f58508e7d6b7d (patch) | |
| tree | 2ea232eca0c8f19886bbb77339221dbdfbddec12 /Library/Homebrew/formula.rb | |
| parent | 5116d176ca67b3dd714fbd7dd6bb2ecd2583579a (diff) | |
| download | homebrew-c6de3f78948dcd33a8ace236b60f58508e7d6b7d.tar.bz2 | |
Give this condition a more revealing name
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 | 
1 files changed, 6 insertions, 0 deletions
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  | 
