blob: a98c6a73d5c0fbf3ed75a916a3d403f1ca9cdf52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# POSIX shell
set --
for bin in bin/*.sh ; do
set -- "$@" "${bin%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
# GNU Bash
if command -v bash >/dev/null 2>&1 ; then
set --
for bin in bin/*.bash ; do
set -- "$@" "${bin%.bash}"
done
shellcheck -e SC1090 -- "$@" || exit
fi
|