From cc1f70f15df2854a3adebbdd0d2fb721e96bc6ac Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 23 Aug 2016 20:16:51 +1200 Subject: Specify shell dialect for bash/sh linting --- lint/bash | 2 +- lint/sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lint/bash b/lint/bash index 80206f05..0fd11df1 100755 --- a/lint/bash +++ b/lint/bash @@ -1,2 +1,2 @@ #!/bin/sh -find bash -type f -print -exec shellcheck -- {} \; +find bash -type f -print -exec shellcheck -s bash -- {} \; diff --git a/lint/sh b/lint/sh index f21cdddd..11511ebf 100755 --- a/lint/sh +++ b/lint/sh @@ -1,2 +1,2 @@ #!/bin/sh -find sh -type f -print -exec shellcheck -- {} \; +find sh -type f -print -exec shellcheck -s sh -- {} \; -- cgit v1.2.3