aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-01-15 14:26:07 +0000
committerMike McQuaid2017-01-15 14:26:07 +0000
commitfeddacf829fe59ac8cf1f739db903423cf9111b0 (patch)
tree2724ab5f6494118367cb6bc1ac14a2201eb42bf1 /Library
parent1296074099c7e3f8a2c3b64c5badc7af106292bb (diff)
downloadbrew-feddacf829fe59ac8cf1f739db903423cf9111b0.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 24c068460..115d38c45 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -808,6 +808,7 @@ class FormulaInstaller
tab.poured_from_bottle = true
tab.time = Time.now.to_i
tab.head = HOMEBREW_REPOSITORY.git_head
+ tab.source["path"] = formula.specified_path.to_s
tab.write
end