diff options
| author | ilovezfs | 2016-09-01 07:31:36 -0700 |
|---|---|---|
| committer | ilovezfs | 2016-09-01 07:31:36 -0700 |
| commit | 8bb3dda24317350d59c94f805665b8d5dfa3553f (patch) | |
| tree | c3ab5d7934618e4287e6a447bea32a7d19bc29d9 | |
| parent | 6622b565ee38de1cd97f5c7b20fa62b481a1ec9b (diff) | |
| parent | 6217e5200e8c2795691f171ea853475d7624e52b (diff) | |
| download | brew-8bb3dda24317350d59c94f805665b8d5dfa3553f.tar.bz2 | |
Merge pull request #835 from ilovezfs/install_deps_of_dep_before_dep
formula_installer: install deps of dep before dep
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a1fd5ba0e..cf595cf71 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -219,7 +219,8 @@ class FormulaInstaller @@attempted << formula - if pour_bottle?(:warn => true) + pour_bottle = pour_bottle?(:warn => true) + if pour_bottle begin install_relocation_tools unless formula.bottle_specification.skip_relocation? pour @@ -242,7 +243,10 @@ class FormulaInstaller build_bottle_preinstall if build_bottle? unless @poured_bottle - compute_and_install_dependencies if @pour_failed && !ignore_deps? + not_pouring = !pour_bottle || @pour_failed + if not_pouring && !ignore_deps? + compute_and_install_dependencies + end build clean end |
