aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-05-17 20:19:07 +0800
committerXu Cheng2015-05-27 13:53:41 +0800
commit5ca7035e322b9ad1c64b79d2c46b4d1748b96d33 (patch)
treeaf61b72e47e0782490434fde5167c025b701e732 /Library
parent75eac94b57b1f8cc3b64926fcc12e85f11369454 (diff)
downloadbrew-5ca7035e322b9ad1c64b79d2c46b4d1748b96d33.tar.bz2
--prefix: use ARGV.resolved_formulae
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--prefix.rb2
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