diff options
| author | Xu Cheng | 2016-07-17 01:55:00 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-07-17 02:23:37 +0800 |
| commit | f49233c89b18ca9789a9dcf85a5c52659d622b41 (patch) | |
| tree | d12aa0f8b1a2772cea749239a4f5a4a7fdfbd446 /Library | |
| parent | 7e14ec0ba67d681d1fe61d508bf9dd5aee531696 (diff) | |
| download | brew-f49233c89b18ca9789a9dcf85a5c52659d622b41.tar.bz2 | |
Tab#for_formula: using Formula#installed_prefix
Closes #529.
Signed-off-by: Xu Cheng <xucheng@me.com>
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 b31bfbdda..4101df532 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -109,7 +109,7 @@ class Tab < OpenStruct paths << dirs.first end - paths << f.prefix + paths << f.installed_prefix path = paths.map { |pn| pn.join(FILENAME) }.find(&:file?) |
