aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-06 16:14:06 +1000
committerteor <teor@torproject.org>2019-11-06 16:14:06 +1000
commitf7b45975bf4d660d596542f5efd62fd152144199 (patch)
tree52772fb7100e50413b72bdb3a7a240d5cb234085 /scripts/maint
parent9ca25f3a68374ca4787b4eaa8bf4fb3365061d26 (diff)
parent7f23d47f723edeea206d5438af3d109dbb4ac835 (diff)
downloadtor-f7b45975bf4d660d596542f5efd62fd152144199.tar.gz
tor-f7b45975bf4d660d596542f5efd62fd152144199.zip
Merge branch 'bug32402_042' into bug32402_master
Merge changes from master with shellcheck fixes.
Diffstat (limited to 'scripts/maint')
-rwxr-xr-xscripts/maint/checkShellScripts.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/maint/checkShellScripts.sh b/scripts/maint/checkShellScripts.sh
index 318f0fb577..4c872c7ee0 100755
--- a/scripts/maint/checkShellScripts.sh
+++ b/scripts/maint/checkShellScripts.sh
@@ -35,12 +35,8 @@ if [ ! -d "$TOPLEVEL/src" ]; then
fi
# Check *.sh scripts, but ignore the ones that we can't fix
-find "$TOPLEVEL" \
+find "$TOPLEVEL/contrib" "$TOPLEVEL/doc" "$TOPLEVEL/scripts" "$TOPLEVEL/src" \
-name "*.sh" \
- -path "$TOPLEVEL/contrib/*" \
- -path "$TOPLEVEL/doc/*" \
- -path "$TOPLEVEL/scripts/*" \
- -path "$TOPLEVEL/src/*" \
-not -path "$TOPLEVEL/src/ext/*" \
-not -path "$TOPLEVEL/src/rust/registry/*" \
-exec shellcheck {} +