Fix Formula path.
Linking "Library" under prefix is optional, but Library will always exist relative to the REPOSITORY folder, so use that instead of prefix for formula paths.
This commit is contained in:
parent
4b2e24ffcc
commit
db559a97dc
@ -287,7 +287,7 @@ class Formula
|
||||
end
|
||||
|
||||
def self.path name
|
||||
HOMEBREW_PREFIX+'Library'+'Formula'+"#{name.downcase}.rb"
|
||||
HOMEBREW_REPOSITORY+"Library/Formula/#{name.downcase}.rb"
|
||||
end
|
||||
|
||||
def deps
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user