[tbb-bugs] #15101 [Tor Browser]: Use env in the shebang of the start script

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 2 21:07:58 UTC 2015


#15101: Use env in the shebang of the start script
----------------------------------+--------------------------
 Reporter:  cypherpunks           |          Owner:  tbb-team
     Type:  enhancement           |         Status:  new
 Priority:  trivial               |      Milestone:
Component:  Tor Browser           |        Version:
 Keywords:  script, shebang, env  |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+--------------------------
 Using /usr/bin/env bash instead of /bin/bash in the shebang line of the
 start script improves portability to some Unix-derivates (e.g. BSDs where
 the bash is usually in /usr/local/bin/bash).
 However, there are also systems where env is not in /usr/bin/env but in
 /bin/env, so its a tradeoff.

 As I know, tor browser is not running on BSDs so far, but hopefully it
 will sooner or later and then the shebang will be an issue.

 Thanks, for your great work!

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


More information about the tbb-bugs mailing list