summaryrefslogtreecommitdiff
path: root/scripts/contrib/documentation-audit.sh
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-12-09 07:39:21 -0500
committerSaul Wold <sgw@linux.intel.com>2012-12-11 20:27:25 -0800
commitb9f14425a3f975a40a881b868b7bddcbd3c22580 (patch)
treee7fadcdb7d6b9fcf89a3fc453fbbf777aa406938 /scripts/contrib/documentation-audit.sh
parentb8b1b39961332c99d62ee466f7859bd62a0f806f (diff)
downloadopenembedded-core-b9f14425a3f975a40a881b868b7bddcbd3c22580.tar.gz
openembedded-core-b9f14425a3f975a40a881b868b7bddcbd3c22580.tar.bz2
openembedded-core-b9f14425a3f975a40a881b868b7bddcbd3c22580.zip
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 <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/contrib/documentation-audit.sh')
-rwxr-xr-xscripts/contrib/documentation-audit.sh3
1 files changed, 2 insertions, 1 deletions
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