projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f306b
)
xdg-utils.eclass: also unset DBUS_SESSION_BUS_ADDRESS
author
Gilles Dartiguelongue
<eva@gentoo.org>
Sat, 21 Nov 2015 10:45:34 +0000
(11:45 +0100)
committer
Gilles Dartiguelongue
<eva@gentoo.org>
Tue, 24 Nov 2015 21:56:20 +0000
(22:56 +0100)
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
patch
|
blob
|
history
diff --git
a/eclass/xdg-utils.eclass
b/eclass/xdg-utils.eclass
index 523f985a4601b5c2691e1f931a37570dba74b737..1f97623cbfd574da94386341197d3eaa857b27ac 100644
(file)
--- 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