diff options
| author | Max Howell | 2009-09-08 22:01:41 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-10 17:21:14 +0100 |
| commit | c92e56697616d136bb068ddcf6d07b2fb05991e7 (patch) | |
| tree | 62985e7e80bd0c3bcd8c40f7746b349683782d5a /Library | |
| parent | edc0f7ba20cc162964758b19fe09b78e7ffac32b (diff) | |
| download | brew-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.rb | 1 |
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 |
