diff options
Diffstat (limited to 'scripts/send-pull-request')
| -rwxr-xr-x | scripts/send-pull-request | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/send-pull-request b/scripts/send-pull-request index 0576a5dd44..03a78f9b1e 100755 --- a/scripts/send-pull-request +++ b/scripts/send-pull-request | |||
| @@ -118,7 +118,11 @@ if [ "$cont" == "y" ] || [ "$cont" == "Y" ]; then | |||
| 118 | # | 118 | # |
| 119 | # Use tail to remove the email envelope from git or formail as | 119 | # Use tail to remove the email envelope from git or formail as |
| 120 | # msmtp (sendmail) would choke on them. | 120 | # msmtp (sendmail) would choke on them. |
| 121 | cat $PATCH | formail -I "To: $TO" -I "CC: $CC" | tail -n +2 | sendmail -t | 121 | # |
| 122 | # Modify the patch date for sequential delivery, but retain the | ||
| 123 | # original date as "Old-Date". | ||
| 124 | DATE=$(date +"%a, %d %b %Y %k:%M:%S %z") | ||
| 125 | cat $PATCH | formail -I "To: $TO" -I "CC: $CC" -i "Date: $DATE" | tail -n +2 | sendmail -t | ||
| 122 | if [ $? -eq 1 ]; then | 126 | if [ $? -eq 1 ]; then |
| 123 | ERROR=1 | 127 | ERROR=1 |
| 124 | fi | 128 | fi |
