From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: mtr@pengutronix.de
Subject: [ptxdist] [PATCH] ptxd_make_world_license: skip ignore in license report
Date: Tue, 26 Apr 2022 17:32:49 +0200 [thread overview]
Message-ID: <20220426153249.1458376-1-m.tretter@pengutronix.de> (raw)
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>
---
scripts/lib/ptxd_make_license_report.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/ptxd_make_license_report.sh b/scripts/lib/ptxd_make_license_report.sh
index 21135d0db9cd..24f833637de0 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}"
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2022-04-26 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 15:32 Michael Tretter [this message]
2022-05-09 6:28 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220426153249.1458376-1-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=mtr@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox