[tor-commits] [tor/master] scripts/maint: Remove obsolete generated tor.sh

nickm at torproject.org nickm at torproject.org
Mon Jun 8 14:00:32 UTC 2020


commit 76d07940fd54b06965a4fc241bba2949107d0e3d
Author: c <c at chroniko.jp>
Date:   Mon Jun 8 01:41:36 2020 +0000

    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.
---
 scripts/maint/checkShellScripts.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/maint/checkShellScripts.sh b/scripts/maint/checkShellScripts.sh
index 4c872c7ee..0a423be29 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" \



More information about the tor-commits mailing list