summaryrefslogtreecommitdiffstats
path: root/cron-jobs/devlist-mailer
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-14 22:37:23 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-14 22:37:23 +0100
commit6e0ea2deb4f28baeebef2c549c30daee60f8e8d7 (patch)
tree9435980a4ad6367b8118eaedac330b306d788741 /cron-jobs/devlist-mailer
parent3fb6203f79434d48954f6ef3c5be7067beaccd86 (diff)
parent5f64e9993a494040b0280ed0f1daa38f68f9c46b (diff)
downloaddbscripts-6e0ea2deb4f28baeebef2c549c30daee60f8e8d7.tar.gz
dbscripts-6e0ea2deb4f28baeebef2c549c30daee60f8e8d7.tar.xz
Merge branch 'master' of file:///srv/projects/git/dbscripts
Conflicts: db-update Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/devlist-mailer')
-rwxr-xr-xcron-jobs/devlist-mailer10
1 files changed, 7 insertions, 3 deletions
diff --git a/cron-jobs/devlist-mailer b/cron-jobs/devlist-mailer
index b24d530..ca2e46b 100755
--- a/cron-jobs/devlist-mailer
+++ b/cron-jobs/devlist-mailer
@@ -6,9 +6,13 @@ LIST="arch-dev-public@archlinux.org"
#LIST="aaronmgriffin@gmail.com"
FROM="repomaint@archlinux.org"
-SUBJECT="Repository Maintenance $(date +"%d-%m-%Y %H:%M")"
-if [ $# -eq 1 ]; then
- SUBJECT="$1"
+SUBJECT="Repository Maintenance $(date +"%d-%m-%Y")"
+if [ $# -ge 1 ]; then
+ SUBJECT="$1 $(date +"%d-%m-%Y")"
+fi
+
+if [ $# -ge 2 ]; then
+ LIST="$2"
fi
stdin="$(cat)"