senddoc.sh (ef10396e) | senddoc.sh (7aca818a) |
---|---|
1#!/bin/sh 2# ************************************************************* 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 96 unchanged lines hidden (view full) --- 105 ;; 106 *) 107 ;; 108 esac 109 shift; 110 done 111 112 if [ "$TO" != "" ]; then | 1#!/bin/sh 2# ************************************************************* 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 96 unchanged lines hidden (view full) --- 105 ;; 106 *) 107 ;; 108 esac 109 shift; 110 done 111 112 if [ "$TO" != "" ]; then |
113 COMMAND=${COMMAND:-}${COMMAND:+,}to=${TO} | 113 COMMAND=${COMMAND:-}${COMMAND:+,}to=\'${TO}\' |
114 fi 115 if [ "$CC" != "" ]; then | 114 fi 115 if [ "$CC" != "" ]; then |
116 COMMAND=${COMMAND:-}${COMMAND:+,}cc=${CC} | 116 COMMAND=${COMMAND:-}${COMMAND:+,}cc=\'${CC}\' |
117 fi 118 if [ "$BCC" != "" ]; then | 117 fi 118 if [ "$BCC" != "" ]; then |
119 COMMAND=${COMMAND:-}${COMMAND:+,}bcc=${BCC} | 119 COMMAND=${COMMAND:-}${COMMAND:+,}bcc=\'${BCC}\' |
120 fi 121 if [ "$SUBJECT" != "" ]; then | 120 fi 121 if [ "$SUBJECT" != "" ]; then |
122 COMMAND=${COMMAND:-}${COMMAND:+,}subject=${SUBJECT} | 122 COMMAND=${COMMAND:-}${COMMAND:+,}subject=\'${SUBJECT}\' |
123 fi 124 if [ "$BODY" != "" ]; then | 123 fi 124 if [ "$BODY" != "" ]; then |
125 COMMAND=${COMMAND:-}${COMMAND:+,}body=${BODY} | 125 COMMAND=${COMMAND:-}${COMMAND:+,}body=\'${BODY}\' |
126 fi 127 if [ "$ATTACH" != "" ]; then | 126 fi 127 if [ "$ATTACH" != "" ]; then |
128 COMMAND=${COMMAND:-}${COMMAND:+,}attachment=${ATTACH} | 128 COMMAND=${COMMAND:-}${COMMAND:+,}attachment=\'${ATTACH}\' |
129 fi 130 131 run_mozilla "$MAILER" "$COMMAND" 132 ;; 133 134 kmail) 135 136 while [ "$1" != "" ]; do --- 294 unchanged lines hidden --- | 129 fi 130 131 run_mozilla "$MAILER" "$COMMAND" 132 ;; 133 134 kmail) 135 136 while [ "$1" != "" ]; do --- 294 unchanged lines hidden --- |