view dropbear_lint.sh @ 1792:2bf1e97ba3cd

Update INSTALL (#113) Make Git/Mercurial instructions easier to understand
author Xenhat <commits@xenh.at>
date Thu, 17 Dec 2020 04:35:48 -0500
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