https://github.com/torvalds/linux
Raw File
Tip revision: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 authored by Linus Torvalds on 14 August 2022, 22:50:18 UTC
Linux 6.0-rc1
Tip revision: 568035b
spdxcheck-test.sh
#!/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
back to top