diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2012-06-27 20:52:20 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-18 17:49:18 +0100 |
commit | 71b248ef477248ff6a03d62cf0e3b724372680eb (patch) | |
tree | 99e27ba2b96547bd75f5dadf645e4c6be9fe52c4 /shell | |
parent | 2f7bbb82deb6192a90e351bd962cfb57245e2df8 (diff) |
i82660 - SimpleCommandMail: fix options passed to Thunderbird
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/misc/senddoc.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh index be096c8a734d..30336058fe04 100644 --- a/shell/source/unix/misc/senddoc.sh +++ b/shell/source/unix/misc/senddoc.sh @@ -115,19 +115,19 @@ case `basename "$MAILER" | sed 's/-.*$//'` in done if [ "$TO" != "" ]; then - COMMAND=${COMMAND:-}${COMMAND:+,}to=${TO} + COMMAND=${COMMAND:-}${COMMAND:+,}to=\'${TO}\' fi if [ "$CC" != "" ]; then - COMMAND=${COMMAND:-}${COMMAND:+,}cc=${CC} + COMMAND=${COMMAND:-}${COMMAND:+,}cc=\'${CC}\' fi if [ "$BCC" != "" ]; then - COMMAND=${COMMAND:-}${COMMAND:+,}bcc=${BCC} + COMMAND=${COMMAND:-}${COMMAND:+,}bcc=\'${BCC}\' fi if [ "$SUBJECT" != "" ]; then - COMMAND=${COMMAND:-}${COMMAND:+,}subject=${SUBJECT} + COMMAND=${COMMAND:-}${COMMAND:+,}subject=\'${SUBJECT}\' fi if [ "$BODY" != "" ]; then - COMMAND=${COMMAND:-}${COMMAND:+,}body=${BODY} + COMMAND=${COMMAND:-}${COMMAND:+,}body=\'${BODY}\' fi if [ "$ATTACH" != "" ]; then COMMAND=${COMMAND:-}${COMMAND:+,}attachment=\'${ATTACH}\' |