summaryrefslogtreecommitdiff
path: root/cron-jobs/devlist-mailer
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2015-05-25 01:00:46 -0600
committerLuke Shumaker <lukeshu@parabola.nu>2018-03-14 16:58:22 -0400
commit55265704d13cd507cb4328bb36619c39b08c1dd1 (patch)
tree1c7526a5bfc3729c7314e0aa58ca1b19ce7fce30 /cron-jobs/devlist-mailer
parent0ea133b67d043e145c1b6452e54e07d9970f65ba (diff)
devlist-mailer: Make LIST and FROM configurablelukeshu/to-upstream/2018-03-14-archlinux+cleanup-v3
Diffstat (limited to 'cron-jobs/devlist-mailer')
-rwxr-xr-xcron-jobs/devlist-mailer5
1 files changed, 2 insertions, 3 deletions
diff --git a/cron-jobs/devlist-mailer b/cron-jobs/devlist-mailer
index 1b59cb3..578d23e 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 (( $# >= 1 )); then