aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tab.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-09 07:47:05 +0100
committerGitHub2016-09-09 07:47:05 +0100
commit1d66cdd3ade841c6b7cd8a71d4b71d5426d00a58 (patch)
treea3b70c2abb1db95210e65bab5569f1718b8bcc7f /Library/Homebrew/tab.rb
parentf37d004ab5588d7b24a593ad8619f024b8c91a6b (diff)
parent4f1d47bc156253ab0eabf6b7aba1fcfa46d80633 (diff)
downloadbrew-1d66cdd3ade841c6b7cd8a71d4b71d5426d00a58.tar.bz2
Merge pull request #863 from penman/preserve_alias
Save aliases in INSTALL_RECEIPT
Diffstat (limited to 'Library/Homebrew/tab.rb')
-rw-r--r--Library/Homebrew/tab.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 5adf66194..69e44d9dd 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -31,7 +31,7 @@ class Tab < OpenStruct
"compiler" => compiler,
"stdlib" => stdlib,
"source" => {
- "path" => formula.path.to_s,
+ "path" => formula.specified_path.to_s,
"tap" => formula.tap ? formula.tap.name : nil,
"spec" => formula.active_spec_sym.to_s,
"versions" => {
@@ -146,7 +146,7 @@ class Tab < OpenStruct
tab = empty
tab.unused_options = f.options.as_flags
tab.source = {
- "path" => f.path.to_s,
+ "path" => f.specified_path.to_s,
"tap" => f.tap ? f.tap.name : f.tap,
"spec" => f.active_spec_sym.to_s,
"versions" => {