commit 00de2df733705fd7b8224a45b912778a927e06ef Author: Nicholas Guriev Date: Sat May 19 22:04:31 2018 +0300 Fix word expansion on KDE in xdg-email diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in index 3614776..3220084 100644 --- a/scripts/xdg-email.in +++ b/scripts/xdg-email.in @@ -91,13 +91,13 @@ open_kde() fi if which $kreadconfig >/dev/null 2>&1; then - local profile=$($kreadconfig --file emaildefaults \ - --group Defaults --key Profile) + local profile="$($kreadconfig --file emaildefaults \ + --group Defaults --key Profile)" if [ -n "$profile" ]; then - local client=$($kreadconfig --file emaildefaults \ - --group "PROFILE_$profile" \ - --key EmailClient \ - | cut -d ' ' -f 1) + local client="$($kreadconfig --file emaildefaults \ + --group "PROFILE_$profile" \ + --key EmailClient \ + | cut -d ' ' -f 1)" if echo "$client" | grep -Eq 'thunderbird|icedove'; then run_thunderbird "$client" "$1"