summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-12-09 07:39:21 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-13 15:18:42 +0000
commit009d19a99d61a5601d4fc05956bd366956cd7984 (patch)
treec7d9361c97321a2cd41b7a51c4c1c5ef54cc4750 /scripts
parent45915123a727f86b106da7ccb761b23067b1ff88 (diff)
downloadpoky-009d19a99d61a5601d4fc05956bd366956cd7984.tar.gz
documentation-audit.sh: Add/fix checks for skipped lines.
Have the script skip: * "Recipe" lines. * Lines with 11 "=", not 12. (From OE-Core rev: b9f14425a3f975a40a881b868b7bddcbd3c22580) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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
30 30
31for pkg in `bitbake -s | awk '{ print \$1 }'`; do 31for pkg in `bitbake -s | awk '{ print \$1 }'`; do
32 if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || 32 if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" ||
33 "$pkg" == "Recipe" ||
33 "$pkg" == "Parsing" || "$pkg" == "Package" || 34 "$pkg" == "Parsing" || "$pkg" == "Package" ||
34 "$pkg" == "NOTE:" || "$pkg" == "WARNING:" || 35 "$pkg" == "NOTE:" || "$pkg" == "WARNING:" ||
35 "$pkg" == "done." || "$pkg" == "============" ]] 36 "$pkg" == "done." || "$pkg" == "===========" ]]
36 then 37 then
37 # Skip initial bitbake output 38 # Skip initial bitbake output
38 continue 39 continue