Formula#specified_path

This commit is contained in:
Alyssa Ross 2016-09-05 22:13:55 +01:00
parent ba10ce70bd
commit c58bbdc213
2 changed files with 6 additions and 1 deletions

View File

@ -226,6 +226,11 @@ class Formula
public
# The path that was specified to find/install this formula.
def specified_path
alias_path || path
end
# Is the currently active {SoftwareSpec} a {#stable} build?
# @private
def stable?

View File

@ -589,7 +589,7 @@ class FormulaInstaller
-I #{HOMEBREW_LOAD_PATH}
--
#{HOMEBREW_LIBRARY_PATH}/build.rb
#{formula.alias_path || formula.path}
#{formula.specified_path}
].concat(build_argv)
Sandbox.print_sandbox_message if Sandbox.formula?(formula)