0
0
mirror of https://mirrors.bfsu.edu.cn/git/linux.git synced 2025-01-03 04:14:38 +08:00
linux/scripts/spdxcheck-test.sh

11 lines
284 B
Bash
Raw Normal View History

#!/bin/sh
# run check on a text and a binary file
for FILE in Makefile Documentation/images/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