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.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 C178A159C96 for ; Mon, 29 Jul 2024 21:44:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F4502BC05C; Mon, 29 Jul 2024 21:44:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E15CD2BC05C for ; Mon, 29 Jul 2024 21:44:32 +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 E9AFE33EB78 for ; Mon, 29 Jul 2024 21:44:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5ECE01D23 for ; Mon, 29 Jul 2024 21:44:30 +0000 (UTC) From: "Andreas K. Hüttel" 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" Message-ID: <1722289460.bbcfddf456fdf1fca2b36cb0386df93cbc211305.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: bbcfddf456fdf1fca2b36cb0386df93cbc211305 X-VCS-Branch: master Date: Mon, 29 Jul 2024 21:44:30 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3371cefc-7592-4077-8b56-1c90c4df4c19 X-Archives-Hash: 15d79592d54a6fb2540de99b6430dbf7 commit: bbcfddf456fdf1fca2b36cb0386df93cbc211305 Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Jul 29 21:43:53 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Mon Jul 29 21:44:20 2024 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=bbcfddf4 catalyst-auto: Replace more than one / with _ in logfile name Signed-off-by: Andreas K. Hüttel gentoo.org> tools/catalyst-auto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 04db65e7..d1a72d91 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -483,7 +483,7 @@ run_catalyst_commands() { fi for i in ${!specs_var}; do - LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::').log" + LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:g' -e 's:\.spec$::').log" specpath=$(readlink -f "${i}") run_cmd "${LOGFILE}" "${timeprefix[@]}" catalyst -a -c "${CATALYST_CONFIG}" -f "${specpath}" if [[ $? != 0 ]]; then @@ -496,7 +496,7 @@ run_catalyst_commands() { done for i in ${!optional_specs_var}; do - LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::').log" + LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:g' -e 's:\.spec$::').log" specpath=$(readlink -f "${i}") run_cmd "${LOGFILE}" "${timeprefix[@]}" catalyst -a -c "${CATALYST_CONFIG}" -f "${specpath}" if [[ $? != 0 ]]; then