From 95ddf1f58919608e29fdbe78080fbce4e5277f85 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 23 Sep 2019 21:10:59 +0200 Subject: tdf#127710: fix sending documents to Claws Mail Thanks to the Paul's (paul@claws-mail.org) contribution Change-Id: Ie4144ab78691b33d8d341d4520c40c56010a0dd8 Reviewed-on: https://gerrit.libreoffice.org/79423 Tested-by: Jenkins Reviewed-by: Julien Nabet (cherry picked from commit 1c03df6e82e4bf30294fc0b9e64de5cc39efc5c4) Reviewed-on: https://gerrit.libreoffice.org/79460 Reviewed-by: Adolfo Jayme Barrientos --- shell/source/unix/misc/senddoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh index 372cee475fe2..394087156a74 100755 --- a/shell/source/unix/misc/senddoc.sh +++ b/shell/source/unix/misc/senddoc.sh @@ -349,7 +349,7 @@ case $(basename "$MAILER" | sed 's/-.*$//') in shift ;; --attach) - ATTACH="${ATTACH:-}${ATTACH:+ }$2" + ATTACH=${ATTACH:-}${ATTACH:+,}$(echo "file://$2" | "${URI_ENCODE}") shift ;; *) -- cgit v1.2.3