aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tab.rb
diff options
context:
space:
mode:
authorAlyssa Ross2016-09-03 21:10:44 +0100
committerAlyssa Ross2016-09-03 21:16:43 +0100
commit0ef3e1e0dcbcd5aa55408fe81d23613e1c2c5e79 (patch)
tree15c68c1d02e144cb86c32bc870cf75cc6547d8e0 /Library/Homebrew/tab.rb
parent9fd97dd3cf26b6644a9f808945869b2af44db26e (diff)
downloadbrew-0ef3e1e0dcbcd5aa55408fe81d23613e1c2c5e79.tar.bz2
Preserve alias when installing formulae
Part of #567
Diffstat (limited to 'Library/Homebrew/tab.rb')
-rw-r--r--Library/Homebrew/tab.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index cf398fcbf..0b26116c5 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -27,6 +27,7 @@ class Tab < OpenStruct
"time" => Time.now.to_i,
"source_modified_time" => formula.source_modified_time.to_i,
"HEAD" => HOMEBREW_REPOSITORY.git_head,
+ "install_name" => formula.install_name,
"compiler" => compiler,
"stdlib" => stdlib,
"source" => {
@@ -161,6 +162,7 @@ class Tab < OpenStruct
"time" => nil,
"source_modified_time" => 0,
"HEAD" => nil,
+ "install_name" => nil,
"stdlib" => nil,
"compiler" => DevelopmentTools.default_compiler,
"source" => {
@@ -292,6 +294,7 @@ class Tab < OpenStruct
"time" => time,
"source_modified_time" => source_modified_time.to_i,
"HEAD" => self.HEAD,
+ "install_name" => install_name,
"stdlib" => (stdlib.to_s if stdlib),
"compiler" => (compiler.to_s if compiler),
"source" => source