aboutsummaryrefslogtreecommitdiff
path: root/check
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 /check
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 'check')
-rw-r--r--check/bin.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/check/bin.sh b/check/bin.sh
index d504961d..08b12778 100644
--- a/check/bin.sh
+++ b/check/bin.sh
@@ -2,14 +2,14 @@
for bin in bin/*.sh ; do
sh -n -- "${bin%.sh}" || exit
done
-printf 'sh(1) binscripts parsed successfully.\n'
+printf 'POSIX sh binscripts parsed successfully.\n'
# GNU Bash
if command -v bash >/dev/null 2>&1 ; then
for bin in bin/*.bash ; do
bash -n -- "${bin%.bash}" || exit
done
- printf 'bash(1) binscripts parsed successfully.\n'
+ printf 'GNU Bash binscripts parsed successfully.\n'
else
- printf 'bash(1) not found, skipping checks.\n'
+ printf 'bash(1) not found, skipping GNU Bash checks.\n'
fi