diff options
| author | Adam Vandenberg | 2011-06-16 08:35:45 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-16 08:41:16 -0700 |
| commit | 3720b6308db629ccaf79f7dd2d7d69d7f93bb5d4 (patch) | |
| tree | 54a22482e2b6c9979fd82be230ec36cc626c56ad /Library | |
| parent | 6800900e8a2787c4b9b594bdc12696632ce1c8bb (diff) | |
| download | homebrew-3720b6308db629ccaf79f7dd2d7d69d7f93bb5d4.tar.bz2 | |
Style changes related to bottling.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c1c05b347..d3b09b60a 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -45,7 +45,7 @@ class SoftwareSpecification end end -class BottleSoftwareSpecification <SoftwareSpecification +class BottleSoftwareSpecification < SoftwareSpecification def download_strategy return CurlBottleDownloadStrategy if @using.nil? raise "Strategies cannot be used with bottles." @@ -454,7 +454,7 @@ class Formula end def pouring - return (@bottle or ARGV.build_from_source?) + @bottle or ARGV.build_from_source? end protected |
