mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
shellcheck: Add shellcheck to the pre-commit hook
* Move the shellcheck script from the Makefile to its own script file * Reformat the shellcheck script so it's easier to read and modify * Call the shellcheck script from the pre-commit hook Fixes bug 30967; not in any released version of Tor.
This commit is contained in:
@@ -53,3 +53,7 @@ if [ -e "${PT_DIR}/practracker.py" ]; then
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e scripts/maint/checkShellScripts.sh ]; then
|
||||
scripts/maint/checkShellScripts.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user