From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1490882-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2035158030 for <garchives@archives.gentoo.org>; Sun, 26 Feb 2023 23:19:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAE8DE0391; Sun, 26 Feb 2023 23:19:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92CCDE0391 for <gentoo-commits@lists.gentoo.org>; Sun, 26 Feb 2023 23:19:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7CF3340E5B for <gentoo-commits@lists.gentoo.org>; Sun, 26 Feb 2023 23:19:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0C9B896 for <gentoo-commits@lists.gentoo.org>; Sun, 26 Feb 2023 23:19:24 +0000 (UTC) From: "Andreas K. Hüttel" <dilfridge@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, "Andreas K. Hüttel" <dilfridge@gentoo.org> Message-ID: <1677453534.f2e3c07e81314d2b3a5d26638e08649f74350592.dilfridge@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: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: f2e3c07e81314d2b3a5d26638e08649f74350592 X-VCS-Branch: master Date: Sun, 26 Feb 2023 23:19:24 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8f6b5548-be2e-4fc5-a306-67b71fcd3a57 X-Archives-Hash: 4364c886a40252fab9f40827681f1493 commit: f2e3c07e81314d2b3a5d26638e08649f74350592 Author: Nic Boet <nic <AT> boet <DOT> cc> AuthorDate: Sun Feb 26 23:18:04 2023 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sun Feb 26 23:18:54 2023 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=f2e3c07e Make it more apparent that bash time is not used Signed-off-by: Nic Boet <nic <AT> boet.cc> Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> tools/catalyst-auto | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 3dfd1233..1780daf4 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -421,8 +421,13 @@ run_catalyst_commands() { build_failure=0 - timeprefix=() - which time >/dev/null && timeprefix=( "time" ) + # bash built-in time function is not used + if ! which time >/dev/null ; then + timeprefix=() + echo "sys-process/time is optional for build resource utilization" + else + timeprefix=( "time" ) + fi JOB_PIDS=() JOB_RETS=()