Actually remove dead txt files

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2021-11-12 18:45:42 +01:00
parent 502ed37683
commit ebb201a6dd
No known key found for this signature in database
GPG key ID: 4C49F79E54D0A206

View file

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