[PATCH 5/5] testbot/WineSendLog: Preserve the newline on the last line of attachments.

Francois Gouget fgouget at codeweavers.com
Tue Jul 17 09:41:57 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineSendLog.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 9d003915a..51830ad17 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -388,6 +388,7 @@ EOF
     my $TaskDir = $StepTask->GetTaskDir();
 
     print $Sendmail <<"EOF";
+
 --$PART_BOUNDARY
 Content-Type: text/plain; charset="UTF-8"
 MIME-Version: 1.0
@@ -429,7 +430,7 @@ EOF
     }
   }
   
-  print $Sendmail "--$PART_BOUNDARY--\n";
+  print $Sendmail "\n--$PART_BOUNDARY--\n";
   close($Sendmail);
 
   # This is all for jobs submitted from the website
-- 
2.18.0



More information about the wine-devel mailing list