diff options
author | Andrew Udvare <audvare@gmail.com> | 2022-06-19 22:59:41 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-20 04:02:20 +0100 |
commit | d312126538f24aed777addc15e0a572f9e670f58 (patch) | |
tree | 4ad8e05a1c2baf7d8e32bf82e35961174683c78a /sys-apps/dbus | |
parent | app-text/mupdf: add 1.20.0 (diff) | |
download | gentoo-d312126538f24aed777addc15e0a572f9e670f58.tar.gz gentoo-d312126538f24aed777addc15e0a572f9e670f58.tar.bz2 gentoo-d312126538f24aed777addc15e0a572f9e670f58.zip |
sys-apps/dbus: minor shellcheck fixes
* [x] Run shellcheck
* [x] Use `$(...)` syntax instead of backticks
* [x] Quote eval arguments
Bug: https://bugs.gentoo.org/845141
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Udvare <audvare@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25988
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/dbus')
-rw-r--r-- | sys-apps/dbus/dbus-1.14.0-r4.ebuild (renamed from sys-apps/dbus/dbus-1.14.0-r3.ebuild) | 0 | ||||
-rw-r--r-- | sys-apps/dbus/files/80-dbus-r1 | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/dbus/dbus-1.14.0-r3.ebuild b/sys-apps/dbus/dbus-1.14.0-r4.ebuild index 19c59de260f4..19c59de260f4 100644 --- a/sys-apps/dbus/dbus-1.14.0-r3.ebuild +++ b/sys-apps/dbus/dbus-1.14.0-r4.ebuild diff --git a/sys-apps/dbus/files/80-dbus-r1 b/sys-apps/dbus/files/80-dbus-r1 index edef88a3c30c..3499a6a12eca 100644 --- a/sys-apps/dbus/files/80-dbus-r1 +++ b/sys-apps/dbus/files/80-dbus-r1 @@ -2,12 +2,12 @@ # launches a session dbus instance -dbuslaunch="`command -v dbus-launch 2>/dev/null`" +dbuslaunch=$(command -v dbus-launch 2>/dev/null) if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then if [ -n "$command" ]; then command="$dbuslaunch --exit-with-session $command" else - eval `$dbuslaunch --sh-syntax --exit-with-session` + eval "$($dbuslaunch --sh-syntax --exit-with-session)" fi fi |