diff options
-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 |