diff options
| author | Xu Cheng | 2015-05-17 20:19:07 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-05-27 13:53:41 +0800 |
| commit | 5ca7035e322b9ad1c64b79d2c46b4d1748b96d33 (patch) | |
| tree | af61b72e47e0782490434fde5167c025b701e732 /Library | |
| parent | 75eac94b57b1f8cc3b64926fcc12e85f11369454 (diff) | |
| download | brew-5ca7035e322b9ad1c64b79d2c46b4d1748b96d33.tar.bz2 | |
--prefix: use ARGV.resolved_formulae
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/--prefix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--prefix.rb b/Library/Homebrew/cmd/--prefix.rb index 3f4faebaa..535a7b422 100644 --- a/Library/Homebrew/cmd/--prefix.rb +++ b/Library/Homebrew/cmd/--prefix.rb @@ -3,7 +3,7 @@ module Homebrew if ARGV.named.empty? puts HOMEBREW_PREFIX else - puts ARGV.formulae.map{ |f| f.opt_prefix.exist? ? f.opt_prefix : f.installed_prefix } + puts ARGV.resolved_formulae.map{ |f| f.opt_prefix.exist? ? f.opt_prefix : f.installed_prefix } end end end |
