Skip to content
Snippets Groups Projects
Commit fdf5ecf4 authored by Troels Thomsen's avatar Troels Thomsen Committed by Jack Nagel
Browse files

Use name of formula rather than name of dependency


Closes Homebrew/homebrew#27192.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 1ab5943f
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,9 @@ module Homebrew extend self
f.deps.each do |dep|
if dep.optional? || dep.recommended?
tab = Tab.for_formula(f)
deps << dep.name if tab.with?(dep.name)
deps << dep.to_formula.name if tab.with?(dep.to_formula.name)
else
deps << dep.name
deps << dep.to_formula.name
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment