]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - scripts/spdxcheck.py
scripts/spdxcheck.py: work with current HEAD LICENSES/ directory
authorJoe Perches <joe@perches.com>
Fri, 17 Aug 2018 22:43:57 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Aug 2018 23:20:27 +0000 (16:20 -0700)
commitfde5e903fb5893415fa49d280e998be226d0898f
tree68122788e23a13868ab656ada908fe6b2a97ca92
parentf08957d0ffe91f346c47cef95139c54aa7275cfe
scripts/spdxcheck.py: work with current HEAD LICENSES/ directory

Depending on how old your -next tree is, it may not have a master that
has the LICENSES directory.

Change the lookup to HEAD and find whatever LICENSE directory files are
used in that branch.

Miscellanea:

 - Remove the checkpatch test as it will have its own SPDX license
   identifier.

Link: http://lkml.kernel.org/r/7eeefc862194930c773e662cb2152e178441d3b8.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/spdxcheck.py