[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #28010 [Core Tor/Tor]: shellcheck: run_trunnel.sh issues
#28010: shellcheck: run_trunnel.sh issues
------------------------------+--------------------
Reporter: rl1987 | 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 (https://github.com/koalaman/shellcheck) finds the
following issues:
{{{
In run_trunnel.sh line 12:
for file in `find ./src/trunnel/ -name '*.trunnel'`; do
^-- SC2044: For loops over find output are fragile. Use find
-exec or a while read loop.
^-- SC2006: Use $(..) instead of legacy `..`.
In run_trunnel.sh line 13:
python -m trunnel ${OPTIONS} $file
^-- SC2086: Double quote to prevent
globbing and word splitting.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28010>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs