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=()