Merge tag 'spi-fix-v5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...
[platform/kernel/linux-rpi.git] / scripts / spdxcheck-test.sh
1 #!/bin/sh
2
3 # run check on a text and a binary file
4 for FILE in Makefile Documentation/logo.gif; do
5         python3 scripts/spdxcheck.py $FILE
6         python3 scripts/spdxcheck.py - < $FILE
7 done
8
9 # run check on complete tree to catch any other issues
10 python3 scripts/spdxcheck.py > /dev/null