diff options
Diffstat (limited to 'dropbear_lint.sh')
-rwxr-xr-x | dropbear_lint.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dropbear_lint.sh b/dropbear_lint.sh new file mode 100755 index 0000000..25a4b7d --- /dev/null +++ b/dropbear_lint.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +EXITCODE=0 + +# #ifdef instead of #if +grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1 + +exit $EXITCODE |