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 BACD0139083 for ; Fri, 15 Dec 2017 03:45:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E25F1E1056; Fri, 15 Dec 2017 03:45:22 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0BFBE1056 for ; Fri, 15 Dec 2017 03:45:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3318433BF0B for ; Fri, 15 Dec 2017 03:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C767EAE86 for ; Fri, 15 Dec 2017 03:45:17 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1513309447.561af1245fe65a8d9422c36677e97704ca691869.robbat2@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: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 561af1245fe65a8d9422c36677e97704ca691869 X-VCS-Branch: master Date: Fri, 15 Dec 2017 03:45:17 +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: 5552c94b-ee8c-4a45-80d4-04333fe98fa4 X-Archives-Hash: 14d8c9d9d2c9150d36fc46fe16fd80cf commit: 561af1245fe65a8d9422c36677e97704ca691869 Author: Robin H. Johnson gentoo org> AuthorDate: Fri Dec 15 03:44:07 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Dec 15 03:44:07 2017 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=561af124 catalyst-auto/run_cmd: append logs instead of overwrite Signed-off-by: Robin H. Johnson gentoo.org> tools/catalyst-auto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index ae47f443..35443c4a 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -79,9 +79,9 @@ run_cmd() { if [ $verbose = 1 ]; then echo "*** Running command: $*" - "$@" 2>&1 | tee "${logfile}" + "$@" 2>&1 | tee -a "${logfile}" else - "$@" &> "${logfile}" + "$@" &>> "${logfile}" fi # If we used tee above, make sure we pass back up the command's error.