Actually remove dead txt files
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
502ed37683
commit
ebb201a6dd
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue