mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-30 06:25:03 +08:00
fae35da4ac
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>
11 lines
284 B
Bash
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
|