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