From 1601f3e9b40b8d13b3094ec324e0e0cd625994c9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 31 Oct 2017 22:31:31 +1300 Subject: Use shell name not command in check/lint messages This is a little bit clearer and nicer to read, I think. --- lint/bin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lint') 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 -- cgit v1.2.3