view dropbear_lint.sh @ 1832:a974a80f5f44

Banner size should account for newlines
author Matt Johnston <matt@codeconstruct.com.au>
date Tue, 12 Oct 2021 21:29:42 +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