]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - scripts/spdxcheck-test.sh
bpf: Fix mask direction swap upon off reg sign change
[mirror_ubuntu-hirsute-kernel.git] / scripts / spdxcheck-test.sh
CommitLineData
b72231eb
TR
1#!/bin/sh
2
3for PYTHON in python2 python3; do
4 # run check on a text and a binary file
5 for FILE in Makefile Documentation/logo.gif; do
6 $PYTHON scripts/spdxcheck.py $FILE
7 $PYTHON scripts/spdxcheck.py - < $FILE
8 done
9
10 # run check on complete tree to catch any other issues
11 $PYTHON scripts/spdxcheck.py > /dev/null
12done