aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-08 22:01:41 +0100
committerMax Howell2009-09-10 17:21:14 +0100
commitc92e56697616d136bb068ddcf6d07b2fb05991e7 (patch)
tree62985e7e80bd0c3bcd8c40f7746b349683782d5a /Library
parentedc0f7ba20cc162964758b19fe09b78e7ffac32b (diff)
downloadbrew-c92e56697616d136bb068ddcf6d07b2fb05991e7.tar.bz2
We should certainly have a Formula::share()
I removed this months back as I found it confusing, does it mean: prefix+'share' or prefix+'share'+name() But honestly, it's obvious, it's the former. It's the same as the other path functions.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index a6be9ea9b..23e71e058 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -91,6 +91,7 @@ class Formula
def man1; man+'man1' end
def info; prefix+'share'+'info' end
def include; prefix+'include' end
+ def share; prefix+'share' end
# reimplement if we don't autodetect the download strategy you require
def download_strategy