aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-10 14:56:02 -0500
committerJack Nagel2014-03-10 14:56:02 -0500
commitb480589062f8452c92f4edfd60854cb3d5ecee9e (patch)
tree6ebd217028c1749869bd36d9d644bd768b18e7e5 /Library
parentfddc9abcbf2a48532bc7daeeecbff824c67ebf0d (diff)
downloadhomebrew-b480589062f8452c92f4edfd60854cb3d5ecee9e.tar.bz2
Remove some obsoleted hacks from the installer
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 600d31f78..a1f77f52d 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -247,10 +247,6 @@ class FormulaInstaller
end
def expand_dependencies(deps)
- # FIXME: can't check this inside the block for the top-level dependent
- # because it depends on the contents of ARGV.
- pour_bottle = pour_bottle?
-
inherited_options = {}
expanded_deps = ARGV.filter_for_dependencies do
@@ -260,7 +256,7 @@ class FormulaInstaller
if (dep.optional? || dep.recommended?) && build.without?(dep)
Dependency.prune
- elsif dep.build? && dependent == f && pour_bottle
+ elsif dep.build? && dependent == f && pour_bottle?
Dependency.prune
elsif dep.build? && dependent != f && install_bottle?(dependent)
Dependency.prune
@@ -401,7 +397,7 @@ class FormulaInstaller
def build_argv
opts = Options.coerce(sanitized_ARGV_options)
opts.concat(options)
- opts << Option.new("--build-from-source") # don't download bottle
+ opts
end
def build