[mod] utils/manage_static.sh: add script to shellcheck

- add script to shellcheck,
- fix error messages from shellcheck and
- moved global variables to local variables (lower case)

No functional change!

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-06-24 15:15:34 +02:00
parent 0606cde105
commit 2cb1f35086
2 changed files with 40 additions and 31 deletions

View file

@ -59,7 +59,8 @@ test.shell:
dockerfiles/docker-entrypoint.sh
$(Q)shellcheck -x -s bash \
utils/brand.env \
./manage \
$(MTOOLS) \
$(MSTATIC) \
utils/lib.sh \
utils/filtron.sh \
utils/searx.sh \
@ -67,7 +68,7 @@ test.shell:
utils/lxc.sh \
utils/lxc-searx.env \
.config.sh
$(Q)./manage build_msg TEST "$@ OK"
$(Q)$(MTOOLS) build_msg TEST "$@ OK"
# wrap ./manage script