Files
Linux/scripts/spdxcheck-test.sh
T
Miguel Ojeda fae35da4ac docs: move Linux logo into a new images folder
Having assets in the top-level `Documentation` directory can make
it harder to find the documents one needs, especially if we want
to add more of them later on.

Instead, create a new `images` folder inside it that is used
to hold assets such as logos.

In addition, update the reference in `scripts/spdxcheck-test.sh`.

Link: https://lore.kernel.org/lkml/[email protected]/
Suggested-by: Jonathan Corbet <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
2022-06-01 09:32:45 -06:00

11 lines
284 B
Bash

#!/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