scripts: checkpatch.sh: ignore file without valid path
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2ab512962309f1b1f3edcc73158796fcd36cef68
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user