Skip to content
Snippets Groups Projects
Unverified Commit f32c6836 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

scripts: lint-sh: ignore warnings about POSIX sh compatiblity

The following features are available in Busybox ash, so we don't need to
warn about them for runtime scripts:

- local keyword
- echo -n / -e
- String indexing

These warnings are new in shellcheck 0.7.2, which would otherwise fail
for various scripts.
parent 24682a31
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ find package -type f | while read -r file; do
is_scriptfile "$file" || continue
echo "Checking $file"
shellcheck -f gcc -x -s sh -e SC2039,SC1091,SC2155,SC2034 "$file"
shellcheck -f gcc -x -s sh -e SC2039,SC1091,SC2155,SC2034,SC3043,SC3037,SC3057 "$file"
done
find scripts -type f | while read -r file; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment