aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-19 20:01:45 +0000
committerSam James <sam@gentoo.org>2022-03-19 20:01:45 +0000
commiteb458e1476163018d22cfe56de0625a5dd29d949 (patch)
tree8f5872b05dfa530e484cc4f54f11e9294f304c76 /eapi-usage.sh
parenteapi-usage.sh: only list EAPIs seen in tree (diff)
downloadqa-scripts-eb458e1476163018d22cfe56de0625a5dd29d949.tar.gz
qa-scripts-eb458e1476163018d22cfe56de0625a5dd29d949.tar.bz2
qa-scripts-eb458e1476163018d22cfe56de0625a5dd29d949.zip
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@gentoo.org>
Diffstat (limited to 'eapi-usage.sh')
-rwxr-xr-xeapi-usage.sh1
1 files changed, 1 insertions, 0 deletions
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