scripts/maint: Remove obsolete generated tor.sh

Per <https://trac.torproject.org/projects/tor/ticket/34381>, these
contrib scripts were generated by older versions of Tor and shellcheck
will throw warnings if they still exist.
This commit is contained in:
c 2020-06-08 01:41:36 +00:00
parent 1d32c3114f
commit 76d07940fd
No known key found for this signature in database
GPG Key ID: D43E2CA907AFA983

View File

@ -34,6 +34,9 @@ if [ ! -d "$TOPLEVEL/src" ]; then
exit 1
fi
# Remove obsolete scripts generated from older versions of Tor
rm -f "$TOPLEVEL/contrib/dist/suse/tor.sh" "$TOPLEVEL/contrib/dist/tor.sh"
# Check *.sh scripts, but ignore the ones that we can't fix
find "$TOPLEVEL/contrib" "$TOPLEVEL/doc" "$TOPLEVEL/scripts" "$TOPLEVEL/src" \
-name "*.sh" \