mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
10 lines
177 B
Ruby
10 lines
177 B
Ruby
module Homebrew extend self
|
|
def __prefix
|
|
if ARGV.named.empty?
|
|
puts HOMEBREW_PREFIX
|
|
else
|
|
puts ARGV.formulae.map{ |f| f.installed_prefix }
|
|
end
|
|
end
|
|
end
|