view dropbear_lint.sh @ 1806:69c514f7f38b

fuzz: try run cifuzz on push as well
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Mar 2021 23:42:59 +0800
parents 90fffce0ee99
children
line wrap: on
line source

#!/bin/sh

EXITCODE=0

# #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1

exit $EXITCODE