aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-17 15:58:25 +0000
committerGitHub2016-11-17 15:58:25 +0000
commit649c7ab48ae013f07a29a706b63d4d778e456b24 (patch)
tree7add85c8d0332281671e7f4894369362af842012 /Library
parente6933b90dc750dc9aadb3bfb6acf1bf395942d57 (diff)
parent715caea79b49a2415500735423b193ec05b1a29a (diff)
downloadbrew-649c7ab48ae013f07a29a706b63d4d778e456b24.tar.bz2
Merge pull request #1520 from vladshablinsky/list_follow_aliases
cmd/list: follow aliases
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb
index 7bbcb4799..e5c7921b8 100644
--- a/Library/Homebrew/cmd/list.rb
+++ b/Library/Homebrew/cmd/list.rb
@@ -107,7 +107,7 @@ module Homebrew
names = if ARGV.named.empty?
Formula.racks
else
- racks = ARGV.named.map { |n| HOMEBREW_CELLAR+n }
+ racks = ARGV.named.map { |n| Formulary.to_rack(n) }
racks.select do |rack|
Homebrew.failed = true unless rack.exist?
rack.exist?