lib/addns: rewrite signed dns update code to use gensec instead of plain gssapi
[Samba.git] / script / codespell.sh
blob60e0eba27373184c39d5db7f5b4d2644a99f9c27
1 #!/bin/bash
3 # Check code spelling
5 if [ $# -lt 1 ]; then
6 echo "Usage: $(basename "${0}") DIR"
7 exit 1
8 fi
10 DIR="${1}"
12 codespell "${DIR}"
13 ret=$?
15 if [ ${ret} -ne 0 ]; then
16 echo
17 echo "Fix code spelling issues. If it detected false positives" \
18 "please update .codespellignore."
21 exit ${ret}