summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-09-23 21:10:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-24 16:15:49 +0200
commit1c03df6e82e4bf30294fc0b9e64de5cc39efc5c4 (patch)
treeddd0ecdc71126e7f57c09a8883a39e7a678657fa /shell
parent144bdd189d07faef0f71edbd039359665a45876c (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'shell')
-rwxr-xr-xshell/source/unix/misc/senddoc.sh2
1 files changed, 1 insertions, 1 deletions
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
;;
*)