Fix commitcheck on FreeBSD
authorRyan Moeller <freqlabs@FreeBSD.org>
Tue, 20 Oct 2020 15:35:53 +0000 (11:35 -0400)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 15:35:53 +0000 (08:35 -0700)
commit777b8ccc352704526b2349e6b52940333079c962
treeae8044427eb0b0ab40c7ab846674212dd900a27e
parent13d65987a9d9958de77422f5d9d25b47e486537d
Fix commitcheck on FreeBSD

Convert from bash to sh, avoid Perl regexes and \s, prune unused
functions.

Reviewed-by: Mateusz Piotrowski <0mp@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #11070
Makefile.am
scripts/commitcheck.sh