Formula#specified_path
This commit is contained in:
parent
ba10ce70bd
commit
c58bbdc213
@ -226,6 +226,11 @@ class Formula
|
|||||||
|
|
||||||
public
|
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?
|
# Is the currently active {SoftwareSpec} a {#stable} build?
|
||||||
# @private
|
# @private
|
||||||
def stable?
|
def stable?
|
||||||
|
|||||||
@ -589,7 +589,7 @@ class FormulaInstaller
|
|||||||
-I #{HOMEBREW_LOAD_PATH}
|
-I #{HOMEBREW_LOAD_PATH}
|
||||||
--
|
--
|
||||||
#{HOMEBREW_LIBRARY_PATH}/build.rb
|
#{HOMEBREW_LIBRARY_PATH}/build.rb
|
||||||
#{formula.alias_path || formula.path}
|
#{formula.specified_path}
|
||||||
].concat(build_argv)
|
].concat(build_argv)
|
||||||
|
|
||||||
Sandbox.print_sandbox_message if Sandbox.formula?(formula)
|
Sandbox.print_sandbox_message if Sandbox.formula?(formula)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user