From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 39E0115820D for ; Tue, 22 Jul 2025 22:31:34 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 73BD8341FB8 for ; Tue, 22 Jul 2025 22:31:18 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 72DF0110564; Tue, 22 Jul 2025 22:31:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 652D7110564 for ; Tue, 22 Jul 2025 22:31:04 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E8B53417FE for ; Tue, 22 Jul 2025 22:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A6D3329F for ; Tue, 22 Jul 2025 22:31:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1753223455.8f8afbe9a11ca7a57e5ac4d847fb2ba4ca51f338.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/isolated-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8f8afbe9a11ca7a57e5ac4d847fb2ba4ca51f338 X-VCS-Branch: master Date: Tue, 22 Jul 2025 22:31:01 +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: 446fa350-b490-462a-b2de-05dea427561b X-Archives-Hash: bb8c14e373425c20b6e76611085a0f08 commit: 8f8afbe9a11ca7a57e5ac4d847fb2ba4ca51f338 Author: Kerin Millar plushkava net> AuthorDate: Sun Jul 20 06:18:49 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 22 22:30:55 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=8f8afbe9 isolated-functions.sh: specify commands for standalone redirections This is just to satisfy the SC2188 policy of shellcheck. Link: https://www.shellcheck.net/wiki/SC2188 Signed-off-by: Kerin Millar plushkava.net> Signed-off-by: Sam James gentoo.org> bin/isolated-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index fbb4c6ced4..08e7a326fb 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -183,7 +183,7 @@ die() { for x in ${EBUILD_DEATH_HOOKS}; do ${x} "$@" done >&2 - > "${PORTAGE_BUILDDIR}/.die_hooks" + : > "${PORTAGE_BUILDDIR}/.die_hooks" fi if [[ -n ${PORTAGE_LOG_FILE} ]] ; then @@ -209,7 +209,7 @@ die() { eerror "Working directory: '$(pwd)'" [[ -n ${S} ]] && eerror "S: '${S}'" - [[ -n ${PORTAGE_EBUILD_EXIT_FILE} ]] && > "${PORTAGE_EBUILD_EXIT_FILE}" + [[ -n ${PORTAGE_EBUILD_EXIT_FILE} ]] && : > "${PORTAGE_EBUILD_EXIT_FILE}" [[ -n ${PORTAGE_IPC_DAEMON} ]] && "${PORTAGE_BIN_PATH}"/ebuild-ipc exit 1 # subshell die support