diff options
Diffstat (limited to 'scripts/contrib/documentation-audit.sh')
-rwxr-xr-x | scripts/contrib/documentation-audit.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index 1191f57a8e..7197a2fcea 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Copyright OpenEmbedded Contributors | ||
4 | # | ||
3 | # SPDX-License-Identifier: GPL-2.0-only | 5 | # SPDX-License-Identifier: GPL-2.0-only |
4 | # | 6 | # |
5 | # Perform an audit of which packages provide documentation and which | 7 | # Perform an audit of which packages provide documentation and which |
@@ -26,8 +28,8 @@ if [ -z "$BITBAKE" ]; then | |||
26 | fi | 28 | fi |
27 | 29 | ||
28 | echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results" | 30 | echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results" |
29 | echo "REMINDER: you need to set LICENSE_FLAGS_WHITELIST appropriately in local.conf or " | 31 | echo "REMINDER: you need to set LICENSE_FLAGS_ACCEPTED appropriately in local.conf or " |
30 | echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Commercial\"" | 32 | echo " you'll get false positives. For example, LICENSE_FLAGS_ACCEPTED = \"commercial\"" |
31 | 33 | ||
32 | for pkg in `bitbake -s | awk '{ print \$1 }'`; do | 34 | for pkg in `bitbake -s | awk '{ print \$1 }'`; do |
33 | if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || | 35 | if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || |