Fix brew-versions for taps with a Formula directory
This commit is contained in:
parent
c90247aa44
commit
985eadbe69
@ -74,9 +74,7 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
def entry_name
|
def entry_name
|
||||||
@entry_name ||= begin
|
@entry_name ||= path.relative_path_from(repository).to_s
|
||||||
repository == HOMEBREW_REPOSITORY ? "Library/Formula/#{name}.rb" : "#{name}.rb"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def rev_list branch='HEAD'
|
def rev_list branch='HEAD'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user