incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arie...@apache.org
Subject svn commit: r1354751 - /incubator/ooo/trunk/main/shell/source/unix/misc/senddoc.sh
Date Wed, 27 Jun 2012 21:52:21 GMT
Author: arielch
Date: Wed Jun 27 21:52:20 2012
New Revision: 1354751

URL: http://svn.apache.org/viewvc?rev=1354751&view=rev
Log:
i82660 - SimpleCommandMail: fix options passed to Thunderbird

Modified:
    incubator/ooo/trunk/main/shell/source/unix/misc/senddoc.sh

Modified: incubator/ooo/trunk/main/shell/source/unix/misc/senddoc.sh
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/shell/source/unix/misc/senddoc.sh?rev=1354751&r1=1354750&r2=1354751&view=diff
==============================================================================
--- incubator/ooo/trunk/main/shell/source/unix/misc/senddoc.sh (original)
+++ incubator/ooo/trunk/main/shell/source/unix/misc/senddoc.sh Wed Jun 27 21:52:20 2012
@@ -110,22 +110,22 @@ case `basename "$MAILER" | sed 's/-.*$//
 		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}
+			COMMAND=${COMMAND:-}${COMMAND:+,}attachment=\'${ATTACH}\'
 		fi
 		
 		run_mozilla "$MAILER" "$COMMAND"



Mime
View raw message