From e7184add00e0d1e1de1629489bddd5537e88f023 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 24 Jul 2018 13:57:46 +0200 Subject: [PATCH] use system-wide muttrc --- process/send-bz2-report | 2 +- process/send-zip-report | 2 +- s/preview | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/process/send-bz2-report b/process/send-bz2-report index c9fb87840..51a8113bf 100755 --- a/process/send-bz2-report +++ b/process/send-bz2-report @@ -25,6 +25,6 @@ addr=$1 subj=$2 shift 2 -mutt -F "$ERESSEA/etc/muttrc" -s "$subj" -a "$@" -- "$addr" \ +mutt -s "$subj" -a "$@" -- "$addr" \ < "$ERESSEA/server/etc/$TEMPLATE" diff --git a/process/send-zip-report b/process/send-zip-report index 89f742b82..a6bd85246 100755 --- a/process/send-zip-report +++ b/process/send-zip-report @@ -44,6 +44,6 @@ addr=$1 subject=$2 shift 2 -mutt -F "$ERESSEA/etc/muttrc" -s "$subject" -a "$@" -- "$addr" \ +mutt -s "$subject" -a "$@" -- "$addr" \ < "$TEMPLATE" || echo "Sending failed for email/report: $2/$3" diff --git a/s/preview b/s/preview index 68fe6e39f..39d5466d0 100755 --- a/s/preview +++ b/s/preview @@ -93,7 +93,7 @@ email=$(grep "faction=$1:" reports.txt | cut -d: -f2 | sed 's/email=//') echo "sending reports to $1 / $email" info=/dev/null [ -e ../email.txt ] && info=../email.txt -cat $info | mutt -F $ERESSEA/etc/muttrc -s "Testauswertung Spiel $game Partei $1" -a $zip -- $email +cat $info | mutt -s "Testauswertung Spiel $game Partei $1" -a $zip -- $email } game=0