From b9f14425a3f975a40a881b868b7bddcbd3c22580 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sun, 9 Dec 2012 07:39:21 -0500 Subject: documentation-audit.sh: Add/fix checks for skipped lines. Have the script skip: * "Recipe" lines. * Lines with 11 "=", not 12. Signed-off-by: Robert P. J. Day Signed-off-by: Saul Wold --- scripts/contrib/documentation-audit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/contrib') diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index a2c45865aa..2144aac936 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh @@ -30,9 +30,10 @@ echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Com for pkg in `bitbake -s | awk '{ print \$1 }'`; do if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || + "$pkg" == "Recipe" || "$pkg" == "Parsing" || "$pkg" == "Package" || "$pkg" == "NOTE:" || "$pkg" == "WARNING:" || - "$pkg" == "done." || "$pkg" == "============" ]] + "$pkg" == "done." || "$pkg" == "===========" ]] then # Skip initial bitbake output continue -- cgit v1.2.3