run shellcheck on helper scripts

fmt-my-stuff: #3595
squash-my-commits: __future__

fix shellcheck warnings on fmt-my-stuff and squash-my-commits
This commit is contained in:
lare 2024-03-19 10:03:16 +01:00
parent 1f76bc5adb
commit 87b641814f
No known key found for this signature in database
GPG key ID: 30C10A93B8B8E9FE
5 changed files with 17 additions and 18 deletions

View file

@ -9,4 +9,7 @@ fi
BASE="$(readlink -f "$0" 2>/dev/null || python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")"
BASE="$(dirname "$BASE")"
grep -lrE "(\s|:)$1(\s|\$)" "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done
grep -lrE "(\s|:)$1(\s|\$)" "$BASE/data/" | while read -r line; do
utils/schema-check/dn42-schema.py fmt -i "$line"
done