diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-08-12 11:58:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-08-12 11:58:57 +0200 |
commit | 6efec1a122a2806b093df4ca99771c3a7a95b925 (patch) | |
tree | 99024d847dce5f46f8a0db76ded5cb3ace6ac52b /check_eclasses_eapis.sh | |
parent | create-dev-keyrings: Increase gpg refresh timeout (diff) | |
download | qa-scripts-6efec1a122a2806b093df4ca99771c3a7a95b925.tar.gz qa-scripts-6efec1a122a2806b093df4ca99771c3a7a95b925.tar.bz2 qa-scripts-6efec1a122a2806b093df4ca99771c3a7a95b925.zip |
check_eclasses_eapis: Include supported EAPIs in STATS.txt
Diffstat (limited to 'check_eclasses_eapis.sh')
-rwxr-xr-x | check_eclasses_eapis.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/check_eclasses_eapis.sh b/check_eclasses_eapis.sh index 218f01a..b78fb39 100755 --- a/check_eclasses_eapis.sh +++ b/check_eclasses_eapis.sh @@ -57,6 +57,10 @@ for x in ${ECLASSES}; do tmpval=$(wc -l "${y}.txt" |cut -d' ' -f1) echo "EAPI=${y} count: ${tmpval}" >> "STATS.txt" done + SUPP_EAPIS=$(sed -n -e 's/^# @SUPPORTED_EAPIS: //p' "${REPO_PATH}/eclass/${x}") + if [[ -n ${SUPP_EAPIS} ]]; then + echo "EAPIs declared supported by eclass: ${SUPP_EAPIS}" >> STATS.txt + fi sed -e 's/$/<br>/' STATS.txt > README.html popd > /dev/null done |