catalyst-auto: move default email settings to main script

This commit is contained in:
Mike Frysinger 2016-03-27 01:31:30 -04:00
parent bc16472a15
commit 08a69c4392
15 changed files with 6 additions and 38 deletions

View file

@ -155,6 +155,12 @@ fi
# Probe the default gitdir from this script name.
GITDIR=$(dirname "$(dirname "$(realpath "$0")")")
# Set up defaults that config files can override if they want.
SUBARCH=$(uname -m)
EMAIL_TO="releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org"
EMAIL_FROM="catalyst@${HOSTNAME:-$(hostname)}"
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
doneconfig=0
for config_file in ${config_files[@]}; do
# Make sure all required values were specified