aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
authorAndrew Janke2016-05-06 12:02:13 -0700
committerAndrew Janke2016-05-06 12:02:13 -0700
commitd887dd39ec60c70e76a696e5fc9309172962d3c8 (patch)
tree8270bd0b75395b3f0334a2fb91393f67d160fe90 /Library/Homebrew/cmd/fetch.rb
parent12686ad417c40274f1da439c5cb7484aefde8b8c (diff)
downloadbrew-d887dd39ec60c70e76a696e5fc9309172962d3c8.tar.bz2
brew install: make -s apply only to given formula, not deps (#205)
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 3a3956607..1dd6da4b3 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -64,7 +64,7 @@ module Homebrew
def fetch_bottle?(f)
return true if ARGV.force_bottle? && f.bottle
return false unless f.bottle && f.pour_bottle?
- return false if ARGV.build_from_source? || ARGV.build_bottle?
+ return false if ARGV.build_formula_from_source?(f)
return false unless f.bottle.compatible_cellar?
true
end