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
commit70040165fdb5ffaa1e917f8bfc0a7af859950a71 (patch)
treeb5b8ce4778cb927911d7cc3796ed73e40cc2aedf /Library
parent13d998a5ff514731f617457cfcaa9c931bac5a0e (diff)
downloadhomebrew-70040165fdb5ffaa1e917f8bfc0a7af859950a71.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