diff --git a/scripts/checkpatch.sh b/scripts/checkpatch.sh index ff4a3713..c4dc9a2d 100755 --- a/scripts/checkpatch.sh +++ b/scripts/checkpatch.sh @@ -39,9 +39,9 @@ pack_trust_image() do if ! test -s ${ini}; then continue; - fi - - if grep -q '^PATH=img/' ${ini}; then + elif ! grep -q '^TOS/' ${ini}; then + continue; + elif grep -q '^PATH=img/' ${ini}; then continue; fi