aboutsummaryrefslogtreecommitdiff
path: root/lint
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:31:31 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-31 22:31:31 +1300
commit1601f3e9b40b8d13b3094ec324e0e0cd625994c9 (patch)
tree62cc7b721381468335f90ad76305140751c1d4c6 /lint
parentApply stable check and lint methods to games shell (diff)
downloaddotfiles-1601f3e9b40b8d13b3094ec324e0e0cd625994c9.tar.gz
dotfiles-1601f3e9b40b8d13b3094ec324e0e0cd625994c9.zip
Use shell name not command in check/lint messages
This is a little bit clearer and nicer to read, I think.
Diffstat (limited to 'lint')
-rw-r--r--lint/bin.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lint/bin.sh b/lint/bin.sh
index 93eb183c..05a0deba 100644
--- a/lint/bin.sh
+++ b/lint/bin.sh
@@ -4,7 +4,7 @@ for bin in bin/*.sh ; do
set "$@" "${bin%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
-printf 'sh(1) binscripts linted successfully.\n'
+printf 'POSIX sh binscripts linted successfully.\n'
# GNU Bash
if command -v bash >/dev/null 2>&1 ; then
@@ -13,7 +13,7 @@ if command -v bash >/dev/null 2>&1 ; then
set "$@" "${bin%.bash}"
done
shellcheck -e SC1090 -- "$@" || exit
- printf 'bash(1) binscripts linted successfully.\n'
+ printf 'GNU Bash binscripts linted successfully.\n'
else
- printf 'bash(1) not found, skipping lint.\n'
+ printf 'bash(1) not found, skipping GNU Bash lint.\n'
fi