Use Formula#installed_prefix for brew --prefix formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
7c4289d446
commit
30a4161c83
@ -3,7 +3,7 @@ module Homebrew extend self
|
|||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
puts HOMEBREW_PREFIX
|
puts HOMEBREW_PREFIX
|
||||||
else
|
else
|
||||||
puts ARGV.formulae.map{ |f| f.prefix }
|
puts ARGV.formulae.map{ |f| f.installed_prefix }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user