diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-10-27 17:30:41 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-11-04 02:09:42 +0300 |
commit | 521d8f69f9182a3d96e51b1df139c81302c026ef (patch) | |
tree | d5eb709cad70b697bae6aef948b80507758c2b6c /poky/scripts/verify-bashisms | |
parent | 9958f3960418d4190e5a0e516cc25a63f398dce9 (diff) | |
download | openbmc-521d8f69f9182a3d96e51b1df139c81302c026ef.tar.xz |
repotest: refactor shellcheck slightly
Refactor the shellcheck implementation so that:
1. Files are checked by extension if their `file` type doesn't
match a known list.
Some shell scripts do not use the proper shebang and end up not being
detected by `file`; attempt to revert to extension in that case.
2. Facilitate easier addition of multiple linting tools for other
file types.
A follow up commit will add 'json' linting with only a few changes.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5ce60432c4bd123d9d9c14466505c2d4b2477959
Diffstat (limited to 'poky/scripts/verify-bashisms')
0 files changed, 0 insertions, 0 deletions