commit:     1de39bb16d60c124f187ef1f433abc1b18e6ca96
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 02:14:42 2017 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 02:14:42 2017 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=1de39bb1

catalyst-auto: use full system hostname by default

 tools/catalyst-auto | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 275a5330..86c654f6 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -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="rel...@gentoo.org,gentoo-releng-autobui...@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

Reply via email to