coccicheck: fix script
This commit is contained in:
parent
1650d61466
commit
69eb930f97
|
@ -19,7 +19,7 @@ div_round_up.cocci
|
||||||
HAS_ERROR=0
|
HAS_ERROR=0
|
||||||
for f in $COCCI_FILES; do
|
for f in $COCCI_FILES; do
|
||||||
OPTIONS=""
|
OPTIONS=""
|
||||||
if [ "$COCCI_FILES" = "div_round_up.cocci" ]; then
|
if [ "$f" = "div_round_up.cocci" ]; then
|
||||||
OPTIONS="--defined DIV_ROUND_UP"
|
OPTIONS="--defined DIV_ROUND_UP"
|
||||||
fi
|
fi
|
||||||
CMD="spatch --timeout 200 --very-quiet --cocci-file scripts/coccinelle/$f --include-headers --dir $DIR $OPTIONS"
|
CMD="spatch --timeout 200 --very-quiet --cocci-file scripts/coccinelle/$f --include-headers --dir $DIR $OPTIONS"
|
||||||
|
|
Loading…
Reference in New Issue