Merge tag 'bcachefs-2024-01-21' of https://evilpiepirate.org/git/bcachefs
[linux-2.6-block.git] / scripts / spdxcheck-test.sh
CommitLineData
b72231eb
TR
1#!/bin/sh
2
03b1292d 3# run check on a text and a binary file
fae35da4 4for FILE in Makefile Documentation/images/logo.gif; do
03b1292d
NM
5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
b72231eb 7done
03b1292d
NM
8
9# run check on complete tree to catch any other issues
10python3 scripts/spdxcheck.py > /dev/null