diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-08 16:52:06 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-15 18:16:34 +0000 |
commit | ca3c4e31c0a93976f7fc4d20323c6995d28c8f7b (patch) | |
tree | d75c81aa961c3f0ccd8b47db9cd0b652ed79458d /tools | |
parent | e77e5c7c6982e7b0ec167a812d5eae5082193a52 (diff) | |
download | telepathy-glib-ca3c4e31c0a93976f7fc4d20323c6995d28c8f7b.tar.gz |
with-session-bus.sh: set DBUS_SESSION_BUS_PID, like dbus-launch does
This isn't directly useful for Telepathy, but is useful if you're
debugging the dbus-daemon itself.
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/with-session-bus.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/with-session-bus.sh b/tools/with-session-bus.sh index cfedb5b9d..b3038cd9e 100755 --- a/tools/with-session-bus.sh +++ b/tools/with-session-bus.sh @@ -79,6 +79,8 @@ fi e=0 DBUS_SESSION_BUS_ADDRESS="`cat $me-$$.address`" export DBUS_SESSION_BUS_ADDRESS +DBUS_SESSION_BUS_PID="`cat $me-$$.pid`" +export DBUS_SESSION_BUS_PID if [ -n "$WITH_SESSION_BUS_FORK_DBUS_MONITOR" ] ; then echo -n "Forking dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT" >&2 |