view dropbear_lint.sh @ 1850:d99b167994b5

Remove caching and socat from build.yml socat isn't needed and it consumes exit codes Caching seems impossible to invalidate
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 Oct 2021 12:49:19 +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