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 F1ED2158094 for ; Wed, 10 Aug 2022 04:31:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12A32E0A7C; Wed, 10 Aug 2022 04:31:40 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E5E30E0A7C for ; Wed, 10 Aug 2022 04:31:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 EF0BF341101 for ; Wed, 10 Aug 2022 04:31:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DBF3566 for ; Wed, 10 Aug 2022 04:31:37 +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: <1660105893.0459f86990ce4e130731dca4c89d73d607e5142e.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/estrip X-VCS-Directories: bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0459f86990ce4e130731dca4c89d73d607e5142e X-VCS-Branch: master Date: Wed, 10 Aug 2022 04:31:37 +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: 9dc1c5f3-623e-4a9b-adaa-28c522e92b51 X-Archives-Hash: e633513e71e4442e9c3135aefaec6b43 commit: 0459f86990ce4e130731dca4c89d73d607e5142e Author: Sam James gentoo org> AuthorDate: Wed Aug 10 04:30:43 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 10 04:31:33 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0459f869 estrip: drop noisy strip banner if nothing to do Fixes: e8f0e06784549fc4c8a06e0a43ff946d6a895683 Signed-off-by: Sam James gentoo.org> bin/estrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/estrip b/bin/estrip index 68ce8bd4d..b8764039b 100755 --- a/bin/estrip +++ b/bin/estrip @@ -104,7 +104,7 @@ while [[ $# -gt 0 ]] ; do while IFS= read -r path; do >> "${path}.estrip" || die done < <( - printf "%s\n" "${scanelf_results[@]}" + [[ -n ${scanelf_results[@]} ]] && printf "%s\n" "${scanelf_results[@]}" find "${find_paths[@]}" -type f ! -type l -name '*.a' )