summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2022-04-26 17:32:49 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2022-05-01 16:19:44 +0200
commite1eac6754383f08b0f8dba65bb8671c78aa635cc (patch)
tree906a33841d80c13dcfb848b22eb9572add90a31a
parent208fe87261b8ee6d1c59f04f549faa16adf603f4 (diff)
downloadptxdist-2022.05.0.tar.gz
ptxdist-2022.05.0.tar.xz
ptxd_make_world_license: skip ignore in license reportptxdist-2022.05.0
The yaml contains packages with an ignored license. These packages are removed from the license-compliance.pdf, but they must be removed from the license-report.pdf as well. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Message-Id: <20220426153249.1458376-1-m.tretter@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_make_license_report.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_license_report.sh b/scripts/lib/ptxd_make_license_report.sh
index 21135d0db..24f833637 100644
--- a/scripts/lib/ptxd_make_license_report.sh
+++ b/scripts/lib/ptxd_make_license_report.sh
@@ -185,7 +185,7 @@ ptxd_make_license_report() {
ptxd_make_license_report_header
for pkg in ${@}; do
pkg_lic="${ptxd_package_license_association[${pkg}]}"
- if [ -z ${pkg_lic} ]; then
+ if [ -z ${pkg_lic} -o "${pkg_lic}" = "ignore" ]; then
continue
fi
pkg_lic="${pkg_lic}/${pkg}"