Use opt prefix for --prefix
Rationale: everyone thinks it points to the currently installed prefix, not the prefix of the formula that is newest and maybe not installed. The previous behavior was unintentional and evidence proves it is not intuitive either. I anticipate no regressions. And hope I am right!
This commit is contained in:
parent
ea593cf61c
commit
dd917bc105
@ -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.installed_prefix }
|
puts ARGV.formulae.map{ |f| "#{HOMEBREW_PREFIX}/opt/#{f}" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user