aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominique Orban2015-07-22 12:34:08 -0400
committerMike McQuaid2015-08-01 15:12:46 +0100
commit68a13b240f765b9976dc45bfe97633534544e657 (patch)
tree352731f03e4c9c3a00f2de5a406d20ae6f23abb9 /Library
parentac738ae2cd713e3cf836407730324b9ccc7e747a (diff)
downloadbrew-68a13b240f765b9976dc45bfe97633534544e657.tar.bz2
formula: define opt_pkgshare helper method.
Closes Homebrew/homebrew#42023. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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 e41976d94..09ff37d8a 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -500,6 +500,7 @@ class Formula
def opt_libexec; opt_prefix+'libexec' end
def opt_sbin; opt_prefix+'sbin' end
def opt_share; opt_prefix+'share' end
+ def opt_pkgshare; opt_prefix+'share'+name end
def opt_frameworks; opt_prefix+'Frameworks' end
# Can be overridden to selectively disable bottles from formulae.