From c92e56697616d136bb068ddcf6d07b2fb05991e7 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 8 Sep 2009 22:01:41 +0100 Subject: [PATCH] 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. --- Library/Homebrew/formula.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index a6be9ea9bf..23e71e0585 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