formula_installer: set specified_path on pour.
This means that a `brew install $ALIAS` records the path accordingly so e.g. `Formula#full_installed_specified_name` returns the correct path.
This commit is contained in:
parent
1296074099
commit
feddacf829
@ -808,6 +808,7 @@ class FormulaInstaller
|
|||||||
tab.poured_from_bottle = true
|
tab.poured_from_bottle = true
|
||||||
tab.time = Time.now.to_i
|
tab.time = Time.now.to_i
|
||||||
tab.head = HOMEBREW_REPOSITORY.git_head
|
tab.head = HOMEBREW_REPOSITORY.git_head
|
||||||
|
tab.source["path"] = formula.specified_path.to_s
|
||||||
tab.write
|
tab.write
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user