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
+3 -1
View File
@@ -372,7 +372,9 @@ module Kernel
ENV["DISPLAY"] = Homebrew::EnvConfig.display
safe_system(browser, *args)
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.