Merge pull request #12889 from gromgit/keep_dbus_env

brew: add DBus session address to browser env
This commit is contained in:
Carlo Cabrera 2022-02-17 17:54:48 +08:00 committed by GitHub
commit bdf25a57ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -372,8 +372,10 @@ module Kernel
ENV["DISPLAY"] = Homebrew::EnvConfig.display
with_env(DBUS_SESSION_BUS_ADDRESS: ENV["HOMEBREW_DBUS_SESSION_BUS_ADDRESS"]) do
safe_system(browser, *args)
end
end
# GZips the given paths, and returns the gzipped paths.
def gzip(*paths)