On 12/09/2012 04:39 AM, Robert P. J. Day wrote:

Have the script skip:

   * "Recipe" lines.
   * Lines with 11 "=", not 12.

Signed-off-by: Robert P. J. Day <[email protected]>

Yeah, I haven't run this script since we switched to the knotty2 interface. If you've tested this, I'm okay with the changes.

Scott


---

   if scott wants to adjust this differently, it's all his.

diff --git a/scripts/contrib/documentation-audit.sh 
b/scripts/contrib/documentation-audit.sh
index a2c4586..2144aac 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



--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to