Commit eb90f499dcba7306067c90a6bde8e3ad1a5be982

Authored by Jacob Vosmaer
1 parent beef3138

Strip carriage returns from mail notifications

The `aws` tool prints interactive status messages by repeatedly
'erasing' a line with carriage returns (^M). This sed command removes
all the text `aws` was trying to delete anyway.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
release.sh
... ... @@ -15,4 +15,4 @@ fi
15 15  
16 16 # We assume that email to the current system user will somehow reach the right
17 17 # human eyes
18   -tail ${build}.log | mail -s "${subject}" $(whoami)
  18 +tail ${build}.log | sed 's/.*\r//' | mail -s "${subject}" $(whoami)
... ...