aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDave Lee2011-03-27 15:14:48 -0600
committerAdam Vandenberg2011-03-28 22:47:21 -0700
commit43db934da62c0584962ecb52c8c0acf1d1b7354f (patch)
tree83968e0f292eea9f4d23e6e024649073045a52db /Library
parentc1bde07bc89fc2afc0557c482cd2270df1587095 (diff)
downloadhomebrew-43db934da62c0584962ecb52c8c0acf1d1b7354f.tar.bz2
Use Formula#installed_prefix for brew --prefix formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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 9a15203a9..51d341d3a 100644
--- a/Library/Homebrew/cmd/--prefix.rb
+++ b/Library/Homebrew/cmd/--prefix.rb
@@ -3,7 +3,7 @@ module Homebrew extend self
if ARGV.named.empty?
puts HOMEBREW_PREFIX
else
- puts ARGV.formulae.map{ |f| f.prefix }
+ puts ARGV.formulae.map{ |f| f.installed_prefix }
end
end
end