tools/license-detector: allow alternative wording for LGPL-2.1-only
| | |
| | | former contains code derived from the library, whereas the latter must |
| | | be combined with the library in order to run. |
| | | |
| | | GNU LESSER GENERAL PUBLIC LICENSE |
| | | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| | | |
| | | 0. This License Agreement applies to any software library or other |
| | |
| | | # |
| | | |
| | | sed -n \ |
| | | -e 's/^GNU LESSER GENERAL PUBLIC LICENSE \(TERMS AND CONDITIONS\)/\1/' \ |
| | | -e '/^Copyright (C) 1991, 1999 Free Software Foundation, Inc\./,/IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW/p' |
| | | |
| | | # We allow alternative LGPL-2.1 wording |
| | | # see https://github.com/spdx/license-list-XML/issues/2204 |