diff options
| author | Mike McQuaid | 2017-01-09 22:44:33 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-01-11 12:01:08 -0800 |
| commit | 0158cc2e23f228715182a946ddfd6268bd6fc2d8 (patch) | |
| tree | 5b3b1e0ed2e74c1a54f7307df7cf75234906dfea /Library | |
| parent | fe117bf79b244c42b7e4049d353c3c003eae4880 (diff) | |
| download | brew-0158cc2e23f228715182a946ddfd6268bd6fc2d8.tar.bz2 | |
build: don't assume requirement dependency is default formula.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index c4e903642..c0f15158d 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -48,7 +48,7 @@ class Build Requirement.prune elsif req.build? && dependent != formula Requirement.prune - elsif req.satisfied? && req.default_formula? && (dep = req.to_dependency).installed? + elsif req.satisfied? && (dep = req.to_dependency) && dep.installed? deps << dep Requirement.prune end |
