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:
Adam Vandenberg 2009-12-16 10:41:00 -08:00 committed by Max Howell
parent 4b2e24ffcc
commit db559a97dc

View File

@ -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