aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lint/bin.sh4
-rw-r--r--lint/games.sh2
2 files changed, 3 insertions, 3 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'
diff --git a/lint/games.sh b/lint/games.sh
index fa2c7a97..240961af 100644
--- a/lint/games.sh
+++ b/lint/games.sh
@@ -1,7 +1,7 @@
# POSIX sh
set --
for game in games/*.sh ; do
- set "$@" "${game%.sh}"
+ set -- "$@" "${game%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
printf 'sh(1) games linted successfully.\n'