bundle/brew_services: use HOMEBREW_BREW_FILE.
This ensures the correct `brew` binary is always used.
This commit is contained in:
parent
c7f6fc639b
commit
a502ae2920
@ -40,7 +40,7 @@ module Homebrew
|
||||
def started_services
|
||||
@started_services ||= begin
|
||||
states_to_skip = %w[stopped none]
|
||||
Utils.safe_popen_read("brew", "services", "list").lines.filter_map do |line|
|
||||
Utils.safe_popen_read(HOMEBREW_BREW_FILE, "services", "list").lines.filter_map do |line|
|
||||
name, state, _plist = line.split(/\s+/)
|
||||
next if states_to_skip.include? state
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user