commit: 6713ed040f6b13027371a4bec14b300ae13def28
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 20:29:42 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 20:29:42 2022 +0000
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=6713ed04
eapi-usage.sh: fix clobbering README/STATS
Signed-off-by: Sam James <sam <AT> gentoo.org>
eapi-usage.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eapi-usage.sh b/eapi-usage.sh
index 3ec8c8e..81a7f91 100755
--- a/eapi-usage.sh
+++ b/eapi-usage.sh
@@ -76,9 +76,9 @@ find "${REPO_PATH}"/metadata/md5-cache -type f ! -name '*.gz'
\
printf "total: %7d ebuilds\n", NR
}' > ${stats}
-echo > ${stats}
-echo "Date generated: $(date -u '+%Y-%m-%d %H:%M:%S %Z')" > ${stats}
-echo "</pre>" > ${stats}
+echo >> ${stats}
+echo "Date generated: $(date -u '+%Y-%m-%d %H:%M:%S %Z')" >> ${stats}
+echo "</pre>" >> ${stats}
echo "<pre>" > ${dir}/README.html
cat ${stats} >> ${dir}/README.html