3 # SPDX-License-Identifier: GPL-2.0-only
5 # SPDX-FileCopyrightText: 2023 Michael Jeanson <mjeanson@efficios.com>
9 shellcheck
=${SHELLCHECK:-shellcheck}
12 while read -r script_file
; do
13 echo "Running ShellCheck on \`$script_file\`"
14 pushd "${script_file%/*}" >/dev
/null
15 "$shellcheck" -x "${script_file##*/}" || retcode
=$?
17 done <<< "$(find . -type f -name '*.sh' \
19 ! -path ./config/ltmain.sh \
20 ! -path ./tests/utils/tap-driver.sh \
21 ! -path ./tests/utils/tap/tap.sh)"
This page took 0.030999 seconds and 4 git commands to generate.