[tor-bugs] #34381 [Core Tor/Tor]: Shellcheck warnings for contrib scripts

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 4 15:18:38 UTC 2020


#34381: Shellcheck warnings for contrib scripts
------------------------------+--------------------
     Reporter:  c             |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 {{{
 % shellcheck --version
 ShellCheck - shell script analysis tool
 version: 0.7.1
 }}}

 Running `make check` results in a few warnings for both
 `contrib/dist/suse/tor.sh` and `contrib/dist/tor.sh`, namely SC2034
 (unused variables) and SC2039 (POSIX incompatibilities). If shellcheck is
 right, then I can gladly go ahead and address these warnings in a PR.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34381>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list