mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 14:58:54 +08:00
run-shellcheck.sh: exclude .bin files
This commit is contained in:
@@ -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'."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user