From: Tom Zanussi Date: Sat, 31 Dec 2011 19:57:16 +0000 (-0600) Subject: documentation-audit.sh: remove COMMERCIAL_LICENSE warning X-Git-Tag: 2015-4~11957 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=64e1db588bcb7b66b08097c0ea443bd4406422d3;p=openembedded-core.git documentation-audit.sh: remove COMMERCIAL_LICENSE warning COMMERCIAL_LICENSE no longer exists; the equivalent functionality is now has been replaced by LICENSE_FLAGS_WHITELIST, so replace the COMMERCIAL_LICENSE warning with a similarly equivalent warning. Signed-off-by: Tom Zanussi --- diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index 5070fee8a0..5b66f0367f 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh @@ -25,7 +25,8 @@ if [ -z "$BITBAKE" ]; then fi echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results" -echo "REMINDER: you need to have COMMERCIAL_LICENSE = \"\" in local.conf or you'll get false positives" +echo "REMINDER: you need to set LICENSE_FLAGS_WHITELIST appropriately in local.conf or " +echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Commercial\"" for pkg in `bitbake -s | awk '{ print \$1 }'`; do if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" ||