xref: /openbmc/linux/scripts/spdxcheck-test.sh (revision c83eeec79ff64f777cbd59a8bd15d0a3fe1f92c0)
1#!/bin/sh
2
3# run check on a text and a binary file
4for FILE in Makefile Documentation/logo.gif; do
5	python3 scripts/spdxcheck.py $FILE
6	python3 scripts/spdxcheck.py - < $FILE
7done
8
9# run check on complete tree to catch any other issues
10python3 scripts/spdxcheck.py > /dev/null
11