mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
13 lines
323 B
Bash
13 lines
323 B
Bash
![]() |
#!/bin/sh
|
||
|
|
||
|
for PYTHON in python2 python3; do
|
||
|
# run check on a text and a binary file
|
||
|
for FILE in Makefile Documentation/logo.gif; do
|
||
|
$PYTHON scripts/spdxcheck.py $FILE
|
||
|
$PYTHON scripts/spdxcheck.py - < $FILE
|
||
|
done
|
||
|
|
||
|
# run check on complete tree to catch any other issues
|
||
|
$PYTHON scripts/spdxcheck.py > /dev/null
|
||
|
done
|