commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
13 lines
323 B
Bash
13 lines
323 B
Bash
#!/bin/sh
|
|
|
|
for PYTHON in python2 python3; do
|
|
# run check on a text and a binary file
|
|
for FILE in Makefile Documentation/logo.gif; do
|
|
$PYTHON scripts/spdxcheck.py $FILE
|
|
$PYTHON scripts/spdxcheck.py - < $FILE
|
|
done
|
|
|
|
# run check on complete tree to catch any other issues
|
|
$PYTHON scripts/spdxcheck.py > /dev/null
|
|
done
|