Stop looking for scripts in the build directory during "make shellcheck"

Fixes bug 30263; bugfix on 0.4.0.1-alpha.
This commit is contained in:
teor 2019-04-23 12:31:14 +10:00
parent 24b68b4777
commit 1788343aff
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 4 additions and 1 deletions

View File

@ -220,7 +220,7 @@ shellcheck:
if command -v shellcheck; then \ if command -v shellcheck; then \
find $(top_srcdir)/scripts/ -name "*.sh" -exec shellcheck {} +; \ find $(top_srcdir)/scripts/ -name "*.sh" -exec shellcheck {} +; \
if [ -d "$(top_srcdir)/scripts/test" ]; then \ if [ -d "$(top_srcdir)/scripts/test" ]; then \
shellcheck $(top_srcdir)/scripts/test/cov-diff $(top_builddir)/scripts/test/coverage; \ shellcheck $(top_srcdir)/scripts/test/cov-diff $(top_srcdir)/scripts/test/coverage; \
fi; \ fi; \
fi fi

3
changes/bug30263 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (shellcheck):
- Stop looking for scripts in the build directory during
"make shellcheck". Fixes bug 30263; bugfix on 0.4.0.1-alpha.