From eda089748e6d512f0497452d6743a0e88c9649f4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 31 Oct 2017 22:56:20 +1300 Subject: Bring Xinit check/lint scripts up to standard This makes them more consistent with the work already done on the check and lint scripts for the other targets. --- lint/xinit.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lint') diff --git a/lint/xinit.sh b/lint/xinit.sh index b5ff6937..b2718874 100644 --- a/lint/xinit.sh +++ b/lint/xinit.sh @@ -1 +1,5 @@ -find X -type f \( -name xinitrc -o -name '*.sh' \) -print -exec shellcheck -e SC1090 -s sh -- {} + +set \ + X/xinitrc \ + X/xinitrc.d/*.sh +shellcheck -e SC1090 -s sh -- "$@" +printf 'Xinit startup scripts linted successfully.\n' -- cgit v1.2.3