From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-997951-garchives=archives.gentoo.org@lists.gentoo.org>
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 CA1E6138206
	for <garchives@archives.gentoo.org>; Tue, 16 Jan 2018 16:21:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 16DEFE0653;
	Tue, 16 Jan 2018 16:21:20 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id EA2D0E0653
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jan 2018 16:21:19 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 182BF335C47
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jan 2018 16:21:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A6DA41AF
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jan 2018 16:21:17 +0000 (UTC)
From: "Mike Frysinger" <vapier@gentoo.org>
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" <vapier@gentoo.org>
Message-ID: <1516074127.bbca329576836dc445f5caa3310d221747750110.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: bbca329576836dc445f5caa3310d221747750110
X-VCS-Branch: master
Date: Tue, 16 Jan 2018 16:21:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: f0abe5b9-0e18-4b47-9b47-f0ff6b92dc7f
X-Archives-Hash: 372aecca498af0826a6343cc918a7460

commit:     bbca329576836dc445f5caa3310d221747750110
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 16 03:42:07 2018 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 03:42:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=bbca3295

catalyst-auto: log the command in the log file itself

This should make it clear in each log file what is being run, especially
when a phase is run more than once (like post_build).

 tools/catalyst-auto | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 756bc515..b7036937 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -70,6 +70,7 @@ run_cmd() {
   local logfile="$1"
   shift
 
+  echo "*** Running command: $*" &>> "${logfile}"
   if [ $verbose = 2 ]; then
     echo "*** Running command: $*"
     "$@" 2>&1 | tee -a "${logfile}"