aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index b2e4ff988..939f356da 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -383,7 +383,9 @@ class Formula
# All of aliases for the formula
def aliases
@aliases ||= if tap
- tap.alias_reverse_table[full_name] || []
+ tap.alias_reverse_table[full_name].to_a.map do |a|
+ a.split("/")[-1]
+ end
else
[]
end