aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/formula.rb4
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