From 9109540a48f2c1f64bb049702b3e8d849571c487 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 25 May 2015 01:00:46 -0600 Subject: devlist-mailer: Make LIST and FROM configurable --- cron-jobs/devlist-mailer | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cron-jobs/devlist-mailer') diff --git a/cron-jobs/devlist-mailer b/cron-jobs/devlist-mailer index 1a05521..7f298b9 100755 --- a/cron-jobs/devlist-mailer +++ b/cron-jobs/devlist-mailer @@ -2,9 +2,8 @@ #Dummy helper to send email to arch-dev # It does nothing if no output -LIST="arch-dev-public@archlinux.org" -#LIST="aaronmgriffin@gmail.com" -FROM="repomaint@archlinux.org" +# Load $LIST and $FROM from the config file +. "$(dirname "$(readlink -e "$0")")/../config" SUBJECT="Repository Maintenance $(date +"%d-%m-%Y")" if [ $# -ge 1 ]; then -- cgit v1.2.3