Skip to content
Snippets Groups Projects
Commit 985eadbe authored by Jack Nagel's avatar Jack Nagel
Browse files

Fix brew-versions for taps with a Formula directory

parent c90247aa
No related branches found
No related tags found
No related merge requests found
......@@ -74,9 +74,7 @@ class Formula
end
def entry_name
@entry_name ||= begin
repository == HOMEBREW_REPOSITORY ? "Library/Formula/#{name}.rb" : "#{name}.rb"
end
@entry_name ||= path.relative_path_from(repository).to_s
end
def rev_list branch='HEAD'
......
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