check_shell_scripts.sh 267 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. set -eu
  3. cd "$(dirname "$0")"
  4. IFS='
  5. '
  6. SHELL_SCRIPTS=$(
  7. find ./ \
  8. -type f \
  9. -not -path '*/vendor/*' \
  10. -iname '*.sh'
  11. )
  12. # shellcheck disable=SC2086
  13. bin/checkbashisms $SHELL_SCRIPTS
  14. # shellcheck disable=SC2086
  15. bin/shellcheck $SHELL_SCRIPTS