kernel/scripts/spdxcheck-test.sh
2024-07-22 17:22:30 +08:00

11 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