Don't try to shellcheck src/rust/registry

Fixes bug 30963; bug not in any released Tor.
This commit is contained in:
Nick Mathewson 2019-06-24 13:45:05 -04:00
parent aec359ef62
commit a87700633c

View File

@ -224,7 +224,7 @@ test: all
shellcheck: shellcheck:
# Only use shellcheck if it is present # Only use shellcheck if it is present
if command -v shellcheck; then \ if command -v shellcheck; then \
find "$(top_srcdir)" -name "*.sh" -not -path "$(top_srcdir)/src/ext/*" -exec shellcheck {} +; \ find "$(top_srcdir)" -name "*.sh" -not -path "$(top_srcdir)/src/ext/*" -not -path "$(top_srcdir)/src/rust/registry/*" -exec shellcheck {} +; \
if [ -d "$(top_srcdir)/scripts/test" ]; then \ if [ -d "$(top_srcdir)/scripts/test" ]; then \
shellcheck $(top_srcdir)/scripts/test/cov-diff $(top_srcdir)/scripts/test/coverage; \ shellcheck $(top_srcdir)/scripts/test/cov-diff $(top_srcdir)/scripts/test/coverage; \
fi; \ fi; \