aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2009-12-16 10:41:00 -0800
committerMax Howell2009-12-19 20:07:47 +0000
commitdb559a97dc7f1a7461b0cf1fbc4524691ac4eab4 (patch)
treec78325e20131a16a370f6ad1338266c3fe7f241f /Library
parent4b2e24ffcc71dc4a9e9b112873dec631b9e79afa (diff)
downloadbrew-db559a97dc7f1a7461b0cf1fbc4524691ac4eab4.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index dc23e733d..1900d3684 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -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