diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/tab.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index acfc04ada..c594843f6 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -101,7 +101,7 @@ class Tab < OpenStruct paths << f.linked_keg.resolved_path end - if f.rack.directory? && (dirs = f.rack.subdirs).length == 1 + if (dirs = f.installed_prefixes).length == 1 paths << dirs.first end |
