diff options
Diffstat (limited to 'lint/bin.sh')
-rw-r--r-- | lint/bin.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lint/bin.sh b/lint/bin.sh index 05a0deba..d27494dd 100644 --- a/lint/bin.sh +++ b/lint/bin.sh @@ -1,7 +1,7 @@ # POSIX sh set -- for bin in bin/*.sh ; do - set "$@" "${bin%.sh}" + set -- "$@" "${bin%.sh}" done shellcheck -e SC1090 -- "$@" || exit printf 'POSIX sh binscripts linted successfully.\n' @@ -10,7 +10,7 @@ printf 'POSIX sh binscripts linted successfully.\n' if command -v bash >/dev/null 2>&1 ; then set -- for bin in bin/*.bash ; do - set "$@" "${bin%.bash}" + set -- "$@" "${bin%.bash}" done shellcheck -e SC1090 -- "$@" || exit printf 'GNU Bash binscripts linted successfully.\n' |