]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
scripts/maint: Remove obsolete generated tor.sh
authorc <c@chroniko.jp>
Mon, 8 Jun 2020 01:41:36 +0000 (01:41 +0000)
committerc <c@chroniko.jp>
Mon, 8 Jun 2020 01:41:36 +0000 (01:41 +0000)
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

index 4c872c7ee09e97c8ef2e5033b4e9e61b81157230..0a423be29ed695ce134f3cceef965cea7be0e5f1 100755 (executable)
@@ -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" \