diff options
| author | Max Howell | 2009-09-08 22:01:41 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-10 17:21:14 +0100 |
| commit | 248d7ef03b22fc8112d3528842eff504fe6a2a25 (patch) | |
| tree | e1237785425e7347e65890e1c8d92c6ab757db0f /Library | |
| parent | 186868b580db674c8a7a1d9de35a87dd1bf06392 (diff) | |
| download | homebrew-248d7ef03b22fc8112d3528842eff504fe6a2a25.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 |
