From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21D7D139085 for ; Thu, 22 Dec 2016 01:20:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 114D02241F9; Thu, 22 Dec 2016 01:20:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E39CA2241F9 for ; Thu, 22 Dec 2016 01:20:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 196A1341134 for ; Thu, 22 Dec 2016 01:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1919E24E7 for ; Thu, 22 Dec 2016 01:20:19 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1482369603.e98ae4f69e91b5a0bb06d3fb183c309ae6de959b.vapier@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto X-VCS-Directories: tools/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: e98ae4f69e91b5a0bb06d3fb183c309ae6de959b X-VCS-Branch: master Date: Thu, 22 Dec 2016 01:20:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b593e64a-d008-4fd8-ba2a-7bbb98875bc9 X-Archives-Hash: 080813ba7d82ff55d07857357d7923ea commit: e98ae4f69e91b5a0bb06d3fb183c309ae6de959b Author: Mike Frysinger gentoo org> AuthorDate: Fri Dec 9 04:54:14 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Dec 22 01:20:03 2016 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=e98ae4f6 catalyst-auto: add missing `local body` in send_email tools/catalyst-auto | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 30fed8f..275a533 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -59,6 +59,7 @@ send_email() { local subject="${EMAIL_SUBJECT_PREPEND} $1" local message=$2 local logfile=$3 + local body if [ -n "${logfile}" ]; then body=$(printf '%b\n\n\n' "${message}"; tail -n 200 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")