run-shellcheck.sh: exclude .bin files

This commit is contained in:
Beat Küng 2018-09-06 19:30:12 +02:00 committed by Lorenz Meier
parent 84c6b5ac6b
commit 2d5b51ed8e
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ search_directory="$1"
command -v shellcheck >/dev/null 2>&1 || { echo -e >&2 \
"Error: shellcheck required but it's not installed. On Ubuntu use:\n sudo apt-get install shellcheck\n\nAborting."; exit 1; }
scripts="$(find "$search_directory" -type f ! -name '*.txt' ! -name '*.mix')"
scripts="$(find "$search_directory" -type f ! -name '*.txt' ! -name '*.mix' ! -name '*.bin')"
echo "Running shellcheck in '$search_directory'."