Skip to content
Snippets Groups Projects
Commit 452d6710 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

add opt shortcuts to formula

parent 5cb3b25d
No related branches found
No related tags found
No related merge requests found
......@@ -224,6 +224,13 @@ class Formula
Pathname.new("#{HOMEBREW_PREFIX}/opt/#{name}")
end
def opt_bin; opt_prefix+'bin' end
def opt_include; opt_prefix+'include' end
def opt_lib; opt_prefix+'lib' end
def opt_libexec; opt_prefix+'libexec' end
def opt_sbin; opt_prefix+'sbin' end
def opt_share; opt_prefix+'share' end
# Can be overridden to selectively disable bottles from formulae.
# Defaults to true so overridden version does not have to check if bottles
# are supported.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment