commit:     eb458e1476163018d22cfe56de0625a5dd29d949
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 20:01:45 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 20:01:45 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=eb458e14

eapi-usage.sh: cleanup old EAPI results

This means we don't have stale-files lingering once all
ebuilds using an EAPI are removed.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eapi-usage.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eapi-usage.sh b/eapi-usage.sh
index 1366d8f..e6fa711 100755
--- a/eapi-usage.sh
+++ b/eapi-usage.sh
@@ -45,6 +45,7 @@ done || { eend $? || exit 1; }
 eend $?
 
 popd &>/dev/null || exit 1
+rm ${dir}/*.txt || exit 1
 mv ${TMPDIR}/eapi-usage/*.txt ${dir}/ || exit 1
 
 rm -r "${TMPDIR}" || exit 1

Reply via email to