mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Miguel Ojeda](/assets/img/avatar_default.png)
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/8735hicoy7.fsf@meer.lwn.net/ Suggested-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Link: https://lore.kernel.org/r/20220528153132.8636-1-ojeda@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
10 lines
284 B
Bash
10 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
|