mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Nishanth Menon](/assets/img/avatar_default.png)
Since commit d0259c42ab
("spdxcheck.py: Use Python 3"), spdxcheck.py
explicitly expects to run as python3 script, there is no further point
in attempting to test with python2.
Cc: Bert Vermeulen <bert@biot.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210707210600.7266-1-nm@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 lines
277 B
Bash
10 lines
277 B
Bash
#!/bin/sh
|
|
|
|
# run check on a text and a binary file
|
|
for FILE in Makefile Documentation/logo.gif; do
|
|
python3 scripts/spdxcheck.py $FILE
|
|
python3 scripts/spdxcheck.py - < $FILE
|
|
done
|
|
|
|
# run check on complete tree to catch any other issues
|
|
python3 scripts/spdxcheck.py > /dev/null
|