commit: 82d8b7dc847de63c3e8636be59dc053c1dafac4b Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> AuthorDate: Sat Nov 21 10:45:34 2015 +0000 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> CommitDate: Tue Nov 24 21:56:20 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d8b7dc
xdg-utils.eclass: also unset DBUS_SESSION_BUS_ADDRESS An often needed hack in ebuilds to avoid tests using user's bus. https://bugs.gentoo.org/show_bug.cgi?id=515196 eclass/xdg-utils.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass index 523f985..1f97623 100644 --- a/eclass/xdg-utils.eclass +++ b/eclass/xdg-utils.eclass @@ -58,6 +58,8 @@ xdg_environment_reset() { # This directory needs to be owned by the user, and chmod 0700 # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html chmod 0700 "${XDG_RUNTIME_DIR}" + + unset DBUS_SESSION_BUS_ADDRESS } # @FUNCTION: xdg_desktopfiles_savelist
