https://github.com/torvalds/linux
Raw File
Tip revision: e22ce8eb631bdc47a4a4ea7ecf4e4ba499db4f93 authored by Linus Torvalds on 22 August 2021, 21:24:56 UTC
Linux 5.14-rc7
Tip revision: e22ce8e
spdxcheck-test.sh
#!/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
back to top