Do only check .c and .h files.
This commit is contained in:
4
.github/checks/sorted_codeopt.sh
vendored
4
.github/checks/sorted_codeopt.sh
vendored
@@ -63,6 +63,6 @@ function checkarray
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for N in `grep -rl "BEGIN DECL SORTED_CODEOPT.SH" "$CHECK_DIR"`; do
|
find "$CHECK_DIR" -name \*.\[ch\] -print | while read N; do
|
||||||
checkarray $N
|
grep -q "BEGIN DECL SORTED_CODEOPT.SH" "$N" && checkarray $N
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user