IMP(shfmt): add shell formatter

This commit is contained in:
Thibault Ayanides
2020-12-04 14:08:01 +01:00
parent bc1aa65b91
commit 3a342b784a
300 changed files with 2370 additions and 2427 deletions

View File

@ -7,4 +7,3 @@ set -e
dockerfile="$(dirname "$0")/Dockerfile.shellcheck"
docker build -f "$dockerfile" -t debiancis-shellcheck "$(dirname "$0")"/../
docker run --rm debiancis-shellcheck "$@"

View File

@ -6,7 +6,7 @@ files=""
retval=0
if [ $# -eq 0 ]; then
files=$(find . -name "*.sh" | sort -V )
files=$(find . -name "*.sh" | sort -V)
else
files="$*"
fi