forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
1
2
3
4
5
6
7
8
9
10
11
12
#!/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