diff --git a/emacs.changes b/emacs.changes index d22e56f..2832dbb 100644 --- a/emacs.changes +++ b/emacs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 10 13:48:45 UTC 2022 - Dr. Werner Fink + +- dbus-update-activation-environment handles only variables with + their names + ------------------------------------------------------------------- Wed Nov 9 13:46:06 UTC 2022 - Dr. Werner Fink diff --git a/emacs.sh b/emacs.sh index 470eef4..75d2bd6 100644 --- a/emacs.sh +++ b/emacs.sh @@ -90,7 +90,8 @@ if test -n "$dbusdaemon" ; then dbusupdate=$(type -p dbus-update-activation-environment 2>/dev/null) dbusstatus=$(systemctl --user is-active dbus.service 2>/dev/null) if test -n "$dbusupdate" -a "$dbusstatus" != active ; then - $dbusupdate --systemd DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus" + export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus" + $dbusupdate --systemd "DBUS_SESSION_BUS_ADDRESS" fi fi unset dbuslaunch dbusdaemon