summaryrefslogtreecommitdiff
path: root/cron-jobs/devlist-mailer
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/devlist-mailer')
-rwxr-xr-xcron-jobs/devlist-mailer6
1 files changed, 3 insertions, 3 deletions
diff --git a/cron-jobs/devlist-mailer b/cron-jobs/devlist-mailer
index 61cd32c..1a05521 100755
--- a/cron-jobs/devlist-mailer
+++ b/cron-jobs/devlist-mailer
@@ -8,18 +8,18 @@ FROM="repomaint@archlinux.org"
SUBJECT="Repository Maintenance $(date +"%d-%m-%Y")"
if [ $# -ge 1 ]; then
- SUBJECT="$1 $(date +"%d-%m-%Y")"
+ SUBJECT="$1 $(date +"%d-%m-%Y")"
fi
if [ $# -ge 2 ]; then
- LIST="$2"
+ LIST="$2"
fi
stdin="$(cat)"
#echo used to strip whitespace for checking for actual data
if [ -n "$(echo $stdin)" ]; then
-echo "Subject: $SUBJECT
+ echo "Subject: $SUBJECT
To: $LIST
From: $FROM