Skip to content
Snippets Groups Projects
Commit 93ca08d6 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge branch 'ticket29533_squashed'

parents 52d386c9 86478be5
No related branches found
No related tags found
No related merge requests found
......@@ -224,10 +224,19 @@ test: all
shellcheck:
# Only use shellcheck if it is present
if command -v shellcheck; then \
find $(top_srcdir)/scripts/ -name "*.sh" -exec shellcheck {} +; \
find "$(top_srcdir)" -name "*.sh" -not -path "$(top_srcdir)/src/ext/*" -exec shellcheck {} +; \
if [ -d "$(top_srcdir)/scripts/test" ]; then \
shellcheck $(top_srcdir)/scripts/test/cov-diff $(top_srcdir)/scripts/test/coverage; \
fi; \
if [ -e "$(top_srcdir)/contrib/dirauth-tools/nagios-check-tor-authority-cert" ]; then \
shellcheck "$(top_srcdir)/contrib/dirauth-tools/nagios-check-tor-authority-cert"; \
fi; \
if [ -e "$(top_srcdir)/contrib/client-tools/torify" ]; then \
shellcheck "$(top_srcdir)/contrib/client-tools/torify"; \
fi; \
if [ -d "$(top_srcdir)/scripts/git" ]; then \
shellcheck $(top_srcdir)/scripts/git/*.git-hook; \
fi; \
fi
check-local: check-spaces check-changes check-includes check-best-practices shellcheck
......
o Testing:
- Run shellcheck for all non-third-party shell scripts that are shipped
with Tor. Closes ticket 29533.
......@@ -35,7 +35,6 @@ if [ -e scripts/maint/practracker/practracker.py ]; then
fi
remote="$1"
remote_loc="$2"
remote_name=$(git remote --verbose | grep "$2" | awk '{print $1}' | head -n 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment