diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 20:16:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 20:16:51 +1200 |
commit | cc1f70f15df2854a3adebbdd0d2fb721e96bc6ac (patch) | |
tree | d769a48a7586d8b08700bfb6020fd396d7a9f730 /lint | |
parent | If HEAD not set, suppress error (diff) | |
download | dotfiles-cc1f70f15df2854a3adebbdd0d2fb721e96bc6ac.tar.gz dotfiles-cc1f70f15df2854a3adebbdd0d2fb721e96bc6ac.zip |
Specify shell dialect for bash/sh linting
Diffstat (limited to 'lint')
-rwxr-xr-x | lint/bash | 2 | ||||
-rwxr-xr-x | lint/sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,2 +1,2 @@ #!/bin/sh -find bash -type f -print -exec shellcheck -- {} \; +find bash -type f -print -exec shellcheck -s bash -- {} \; @@ -1,2 +1,2 @@ #!/bin/sh -find sh -type f -print -exec shellcheck -- {} \; +find sh -type f -print -exec shellcheck -s sh -- {} \; |