diff options
author | c <c@chroniko.jp> | 2020-06-08 01:41:36 +0000 |
---|---|---|
committer | c <c@chroniko.jp> | 2020-06-08 01:41:36 +0000 |
commit | 76d07940fd54b06965a4fc241bba2949107d0e3d (patch) | |
tree | 444dd0d18dfc842a539c9145f91772944eb0ad37 /scripts/maint | |
parent | 1d32c3114fa3ebcd4219eba6ad7bb2a57b878511 (diff) | |
download | tor-76d07940fd54b06965a4fc241bba2949107d0e3d.tar.gz tor-76d07940fd54b06965a4fc241bba2949107d0e3d.zip |
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.
Diffstat (limited to 'scripts/maint')
-rwxr-xr-x | scripts/maint/checkShellScripts.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/maint/checkShellScripts.sh b/scripts/maint/checkShellScripts.sh index 4c872c7ee0..0a423be29e 100755 --- a/scripts/maint/checkShellScripts.sh +++ b/scripts/maint/checkShellScripts.sh @@ -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" \ |