From 420c5f50624bba099a4e1cf4b8b50b635aad4989 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 30 Dec 2016 23:39:15 +1300 Subject: Clean up lint scripts a bit --- lint/bash | 2 +- lint/ksh | 4 +++- lint/sh | 2 +- lint/yash | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'lint') diff --git a/lint/bash b/lint/bash index 9a9ad758..771f2a89 100755 --- a/lint/bash +++ b/lint/bash @@ -1,2 +1,2 @@ #!/bin/sh -find bash -type f -print -exec shellcheck -e SC1090 -s bash -- {} \; +find bash -type f -print -exec shellcheck -e SC1090 -s bash -- {} + diff --git a/lint/ksh b/lint/ksh index 5c5445fc..ee49d178 100755 --- a/lint/ksh +++ b/lint/ksh @@ -1,2 +1,4 @@ #!/bin/sh -find ksh -type f -print -exec shellcheck -e SC1090 -s ksh -- {} \; +find ksh \ + -type f -name '*.sh' -exec shellcheck -e SC1090 -s sh -- {} + -o \ + -type f -exec shellcheck -e SC1090 -s ksh -- {} + diff --git a/lint/sh b/lint/sh index 7168a5bc..18f2f551 100755 --- a/lint/sh +++ b/lint/sh @@ -1,2 +1,2 @@ #!/bin/sh -find sh -type f -print -exec shellcheck -e SC1090 -s sh -- {} \; +find sh -type f -print -exec shellcheck -e SC1090 -s sh -- {} + diff --git a/lint/yash b/lint/yash index c2eacab3..1397f9f1 100755 --- a/lint/yash +++ b/lint/yash @@ -1,2 +1,2 @@ #!/bin/sh -find yash -type f -print -exec shellcheck -e SC1090 -s sh -- {} \; +find yash -type f -print -exec shellcheck -e SC1090 -s sh -- {} + -- cgit v1.2.3