From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1338842-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 D6013158086
	for <garchives@archives.gentoo.org>; Fri, 12 Nov 2021 17:46:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 29B10E0A59;
	Fri, 12 Nov 2021 17:46:00 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C7D66E0A59
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 17:45:59 +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 A8976342D2B
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 17:45:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D4552163
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 17:45:56 +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: <1636739142.ebb201a6ddfac32e10c9ffdf758f1a553462d9fc.dilfridge@gentoo>
Subject: [gentoo-commits] proj/releng:master commit in: scripts/
X-VCS-Repository: proj/releng
X-VCS-Files: scripts/copy_buildsync.sh
X-VCS-Directories: scripts/
X-VCS-Committer: dilfridge
X-VCS-Committer-Name: Andreas K. Hüttel
X-VCS-Revision: ebb201a6ddfac32e10c9ffdf758f1a553462d9fc
X-VCS-Branch: master
Date: Fri, 12 Nov 2021 17:45:56 +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: 30877df2-6e59-4138-bb2c-70521e996adf
X-Archives-Hash: 2b788392b618268d72024fe370d77089

commit:     ebb201a6ddfac32e10c9ffdf758f1a553462d9fc
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 17:45:42 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 17:45:42 2021 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=ebb201a6

Actually remove dead txt files

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 scripts/copy_buildsync.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
index 78cc1653..f7f9a3df 100755
--- a/scripts/copy_buildsync.sh
+++ b/scripts/copy_buildsync.sh
@@ -236,8 +236,10 @@ process_arch() {
 				| xargs -n1 --no-run-if-empty readlink -f
 		done >"${_dead}"
 		if test -s "${_dead}"; then
-				echo "copy_buildsync: dead latest*txt files to verify:" 1>&2
-				cat "${_dead}" 1>&2
+				echo "copy_buildsync: removing dead latest*txt files:" 1>&2
+				foreach txtfil in $(cat "${_dead}") ; do
+					rm -v "${txtfil}" 1>&2
+				done
 		fi
 
 		# Cleanup tmpdir