From ca0dac156a410cc4b56748d5ff80e45f96dc5e2b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mar 03 2016 15:19:37 +0000 Subject: attempt to send each email inidividulaly Signed-off-by: Dennis Gilmore --- diff --git a/nightly.sh b/nightly.sh index c0bfd99..062fd5c 100755 --- a/nightly.sh +++ b/nightly.sh @@ -116,7 +116,7 @@ for dir in Cloud Labs ; SUBJECT='Fedora '$DIST' compose report: '$SHORTCOMPOSE_ID' changes' if [ "$mail" = "0" ]; then - for tomail in "$(echo $TOMAIL)" ; do + for tomail in $TOMAIL ; do cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose $DESTDIR/logs/depcheck | \ mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail done