catalyst-auto: use full system hostname by default

This commit is contained in:
Mike Frysinger 2017-03-22 22:14:42 -04:00
parent 9444f99d3d
commit 1de39bb16d

View file

@ -175,7 +175,8 @@ REPO_DIR=$(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)}"
# Use full hostname by default as Gentoo servers will reject short names.
EMAIL_FROM="catalyst@$(hostname -f)"
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
doneconfig=0