diff options
| author | Adam Vandenberg | 2011-06-16 08:35:45 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-16 08:41:16 -0700 |
| commit | 8f896f9d2c2eb33fc31e37347a375d9149cb5c35 (patch) | |
| tree | 6e9c435c3e2d89f7ee6fd50f548aa6d5221b1254 /Library | |
| parent | b643d105eb7938aaf37b733dcd93a98847ab72ad (diff) | |
| download | brew-8f896f9d2c2eb33fc31e37347a375d9149cb5c35.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 |
