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
|
||||
checkarray $N
|
||||
find "$CHECK_DIR" -name \*.\[ch\] -print | while read N; do
|
||||
grep -q "BEGIN DECL SORTED_CODEOPT.SH" "$N" && checkarray $N
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user