[tor-bugs] #15778 [- Select a component]: Arm shell $* problem

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 22 18:27:41 UTC 2015


#15778: Arm shell $* problem
----------------------------------+---------------------
 Reporter:  yurivict271           |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  - Select a component  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 This line
 > exec python -W ignore::DeprecationWarning "${arm_base}starter.py" $*
 should change to
 > exec python -W ignore::DeprecationWarning "${arm_base}starter.py" "$@"

 This the common pitfall with shell, the former syntax doesn't expand
 arguments properly, and the latter one does.

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


More information about the tor-bugs mailing list